summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/ore.mac
blob: 812a0facd97447460443fe68b4ed85410fd1e80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
% OR-gate EAST
\newsavebox{\ore}
\savebox{\ore}(11,6){
\begin{picture}(11,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{50}(2,6)(4,3)(2,0)     % back curve
\put(9,3){\line(1,0){2}}      % output line
\put(0,5){\line(1,0){2.5}}     % top input line
\put(0,1){\line(1,0){2.5}}     % bottom input line
% NB intersection of input lines & back curve is estimated (not calculated)!
\end{picture}
}