summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/nexorw.mac
blob: 47d65cb40c3107b2c9b8a91cbf761fbd018b15e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% NEXOR-gate WEST
\newsavebox{\nexorw}
\savebox{\nexorw}(12,6){
\begin{picture}(12,6)
\bezier{60}(10,6)(5,6)(3,3)      % top section of pointed curve
\bezier{60}(10,0)(5,0)(3,3)      % bottom section of pointed curve
\bezier{40}(10,6)(8,3)(10,0)     % back curve (inner)
\bezier{40}(11,6)(9,3)(11,0)      % back curve (outer)
\put(0,3){\line(1,0){1.5}}       % output line
\put(2.25,3){\circle{1.5}}       % bobble
\put(12,5){\line(-1,0){1.5}}     % top input line
\put(12,1){\line(-1,0){1.5}}     % bottom input line
% NB intersection of input lines & back curve is estimated (not calculated)!
\end{picture}
}