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