summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/nexore.mac
blob: df670c217d53e00487531997d816bae3cfc68df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% NEXOR-gate EAST
\newsavebox{\nexore}
\savebox{\nexore}(12,6){
\begin{picture}(12,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.75,3){\circle{1.5}}         % bobble
\put(10.5,3){\line(1,0){1.5}}      % 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}
}