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