summaryrefslogtreecommitdiff
path: root/graphics/lcircuit/exors.mac
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lcircuit/exors.mac')
-rw-r--r--graphics/lcircuit/exors.mac14
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/lcircuit/exors.mac b/graphics/lcircuit/exors.mac
new file mode 100644
index 0000000000..24b84297dc
--- /dev/null
+++ b/graphics/lcircuit/exors.mac
@@ -0,0 +1,14 @@
+% EXOR-gate SOUTH
+\newsavebox{\exors}
+\savebox{\exors}(6,11){
+\begin{picture}(6,11)
+\bezier{60}(0,9)(0,4)(3,2) % western section of pointed curve
+\bezier{60}(6,9)(6,4)(3,2) % eastern section of pointed curve
+\bezier{40}(0,10)(3,8)(6,10) % top curve (outer)
+\bezier{40}(0,9)(3,7)(6,9) % top curve (inner)
+\put(3,0){\line(0,1){2}} % output line
+\put(1,11){\line(0,-1){1.5}} % western input line
+\put(5,11){\line(0,-1){1.5}} % eastern input line
+% NB intersection of input lines & back curve is estimated (not calculated)!
+\end{picture}
+}