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