summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/nors.mac
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/lcircuit/nors.mac
Initial commit
Diffstat (limited to 'graphics/lcircuit/nors.mac')
-rw-r--r--graphics/lcircuit/nors.mac14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/lcircuit/nors.mac b/graphics/lcircuit/nors.mac
new file mode 100644
index 0000000000..a0e3253450
--- /dev/null
+++ b/graphics/lcircuit/nors.mac
@@ -0,0 +1,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}
+}