summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-12 23:13:31 +0000
committerKarl Berry <karl@freefriends.org>2011-09-12 23:13:31 +0000
commit43feab97abfa5a781cd20b13d118c894afee47fb (patch)
tree7436698e3c97e95d9974744d70f92149fa1809dd /Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty
parentc0fc6f08ac435f1171b1349d429fce172e37a3f2 (diff)
CircuiTikZ 0.2.4 (12sep11)
git-svn-id: svn://tug.org/texlive/trunk@23913 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty')
-rw-r--r--Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty b/Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty
index c2f1826db5a..52ee97a00c8 100644
--- a/Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty
+++ b/Master/texmf-dist/tex/latex/circuitikz/pgfcircshapes.sty
@@ -50,6 +50,12 @@
\anchor{center}{
\pgfpointorigin
}
+ \anchorborder{
+ \pgf@circ@res@left=\pgf@x
+ \pgf@circ@res@up=\pgf@y
+ \pgfpointborderellipse{\pgfpoint{\pgf@circ@res@left}{\pgf@circ@res@up}
+}{\pgfpoint{\pgfkeysvalueof{/tikz/circuitikz/nodes width}*\pgfkeysvalueof{/tikz/circuitikz/bipoles/length}}{\pgfkeysvalueof{/tikz/circuitikz/nodes width}*\pgfkeysvalueof{/tikz/circuitikz/bipoles/length}}}
+ }
\behindforegroundpath{
\pgfscope
@@ -67,6 +73,13 @@
\anchor{center}{
\pgfpointorigin
}
+ \anchorborder{
+ \pgf@circ@res@left=\pgf@x
+ \pgf@circ@res@up=\pgf@y
+ \pgfpointborderellipse{\pgfpoint{\pgf@circ@res@left}{\pgf@circ@res@up}
+}{\pgfpoint{\pgfkeysvalueof{/tikz/circuitikz/nodes width}*\pgfkeysvalueof{/tikz/circuitikz/bipoles/length}}{\pgfkeysvalueof{/tikz/circuitikz/nodes width}*\pgfkeysvalueof{/tikz/circuitikz/bipoles/length}}}
+ }
+
\behindforegroundpath{
\pgfscope