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