diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/lcircuit/exorn.mac |
Initial commit
Diffstat (limited to 'graphics/lcircuit/exorn.mac')
-rw-r--r-- | graphics/lcircuit/exorn.mac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/lcircuit/exorn.mac b/graphics/lcircuit/exorn.mac new file mode 100644 index 0000000000..31cf235b30 --- /dev/null +++ b/graphics/lcircuit/exorn.mac @@ -0,0 +1,14 @@ +% EXOR-gate NORTH +\newsavebox{\exorn} +\savebox{\exorn}(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 (inner) +\bezier{40}(0,1)(3,3)(6,1) % bottom curve (outer) +\put(3,9){\line(0,1){2}} % output line +\put(1,0){\line(0,1){1.5}} % western input line +\put(5,0){\line(0,1){1.5}} % eastern input line +% NB intersection of input lines & back curve is estimated (not calculated)! +\end{picture} +} |