summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/orw.mac
blob: 8eb380828398bba87d6e24ebc4bc28b22d2b1f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% OR-gate WEST
\newsavebox{\orw}
\savebox{\orw}(11,6){
\begin{picture}(11,6)
\bezier{60}(9,6)(4,6)(2,3)      % top section of pointed curve
\bezier{60}(9,0)(4,0)(2,3)      % bottom section of pointed curve
\bezier{40}(9,6)(7,3)(9,0)     % back curve
\put(0,3){\line(1,0){2}}         % output line
\put(11,5){\line(-1,0){2.5}}     % top input line
\put(11,1){\line(-1,0){2.5}}     % bottom input line
% NB intersection of input lines & back curve is estimated (not calculated)!
\end{picture}
}