summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex9
1 files changed, 2 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex b/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex
index ddf8a29f629..30ecbff3c4d 100644
--- a/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex
+++ b/Master/texmf-dist/tex/generic/pgf/libraries/shapes/circuits/pgflibraryshapes.gates.ee.code.tex
@@ -88,17 +88,14 @@
\pgfdeclareshape{direction ee}
{
\savedanchor\northeast{
- % Right border is given by right extend
\pgf@x=0pt%
- \csname pgf@arrow@right@\pgfkeysvalueof{/pgf/direction ee arrow}\endcsname
% Height is given by minimum height/2
\pgfmathsetlength{\pgf@y}{\pgfkeysvalueof{/pgf/minimum height}}%
\pgf@y=.5\pgf@y
}
\savedanchor\southwest{
% Left border is given by left extend
- \pgf@x=0pt%
- \csname pgf@arrow@left@\pgfkeysvalueof{/pgf/direction ee arrow}\endcsname
+ \pgfarrowtotallength{\pgfkeysvalueof{/pgf/direction ee arrow}}%
\pgf@x=-\pgf@x%
% Height is given by minimum height/2
\pgfmathsetlength{\pgf@y}{\pgfkeysvalueof{/pgf/minimum height}}%
@@ -131,10 +128,8 @@
\beforebackgroundpath{
{
- \pgfsetarrowsend{\pgfkeysvalueof{/pgf/direction ee arrow}}
\pgfsys@beginscope
- \pgflowlevelsynccm%
- \pgflowlevelobj{}{\pgf@endarrow}%
+ \pgfarrowdraw{\pgfkeysvalueof{/pgf/direction ee arrow}}%
\pgfsys@endscope
}
}