summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/ore.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/ore.mac
Initial commit
Diffstat (limited to 'graphics/lcircuit/ore.mac')
-rw-r--r--graphics/lcircuit/ore.mac13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/lcircuit/ore.mac b/graphics/lcircuit/ore.mac
new file mode 100644
index 0000000000..812a0facd9
--- /dev/null
+++ b/graphics/lcircuit/ore.mac
@@ -0,0 +1,13 @@
+% OR-gate EAST
+\newsavebox{\ore}
+\savebox{\ore}(11,6){
+\begin{picture}(11,6)
+\bezier{60}(2,6)(7,6)(9,3) % top section of pointed curve
+\bezier{60}(2,0)(7,0)(9,3) % bottom section of pointed curve
+\bezier{50}(2,6)(4,3)(2,0) % back curve
+\put(9,3){\line(1,0){2}} % output line
+\put(0,5){\line(1,0){2.5}} % top input line
+\put(0,1){\line(1,0){2.5}} % bottom input line
+% NB intersection of input lines & back curve is estimated (not calculated)!
+\end{picture}
+}