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