1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
% EXOR-gate EAST
\newsavebox{\exore}
\savebox{\exore}(11,6){
\begin{picture}(11,6)
\bezier{60}(2,6)(7,6)( 9,3) % top section of pointed curve
\bezier{60}(2,0)(7,0)( 9,3) % bottom section of pointed curve
\bezier{40}(2,6)(4,3)(2,0) % inner back curve
\bezier{40}(1,6)(3,3)(1,0) % outer back curve
\put(9,3){\line(1,0){2}} % output line
\put(0,5){\line(1,0){1.5}} % top input line
\put(0,1){\line(1,0){1.5}} % bottom input line
% NB intersection of input lines & back curve is estimated (not calculated)!
\end{picture}
}
|