summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex')
-rw-r--r--graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex17
1 files changed, 9 insertions, 8 deletions
diff --git a/graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex b/graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex
index 4ee224cc9d..f489ac58e6 100644
--- a/graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex
+++ b/graphics/pgf/contrib/circuitikz/tex/pgfcircshapes.tex
@@ -1,7 +1,7 @@
-% Copyright 2018-2021 by Romano Giannetti
-% Copyright 2015-2021 by Stefan Lindner
-% Copyright 2013-2021 by Stefan Erhardt
-% Copyright 2007-2021 by Massimo Redaelli
+% Copyright 2018-2022 by Romano Giannetti
+% Copyright 2015-2022 by Stefan Lindner
+% Copyright 2013-2022 by Stefan Erhardt
+% Copyright 2007-2022 by Massimo Redaelli
%
% This file may be distributed and/or modified
%
@@ -584,6 +584,7 @@
\behindforegroundpath{
\pgfscope
\ifpgfcirc@really@draw@currarrow
+ \pgf@circ@reset@arrows@rounded
\pgf@circ@res@step = \pgf@circ@Rlen
\divide \pgf@circ@res@step by \ctikzvalof{current arrow scale}
@@ -591,7 +592,7 @@
\pgfpathlineto{\pgfpoint{-.7\pgf@circ@res@step}{-.8\pgf@circ@res@step}}
\pgfpathlineto{\pgfpoint{1\pgf@circ@res@step}{0pt}}
\pgfpathlineto{\pgfpoint{-.7\pgf@circ@res@step}{.8\pgf@circ@res@step}}
- \pgfpathlineto{\pgfpoint{-.7\pgf@circ@res@step}{0pt}}
+ \pgfpathclose
\pgfsetcolor{\ctikzvalof{color}}
\pgfusepath{draw,fill}
\fi
@@ -639,6 +640,7 @@
\behindforegroundpath{
\pgfscope
\ifpgfcirc@really@draw@flowarrow
+ \pgf@circ@reset@arrows@rounded
\pgf@circ@res@step = \pgf@circ@Rlen
\divide \pgf@circ@res@step by 4
\pgfpathmoveto{\pgfpoint{-\pgf@circ@res@step}{0pt}}
@@ -681,17 +683,16 @@
\behindforegroundpath{
\pgfscope
+ \pgf@circ@reset@arrows@rounded
\pgf@circ@res@step = \pgf@circ@Rlen
\divide \pgf@circ@res@step by 16
-
\pgfpathmoveto{\pgfpoint{-1.7\pgf@circ@res@step}{0pt}}
\pgfpathlineto{\pgfpoint{-1.7\pgf@circ@res@step}{-.8\pgf@circ@res@step}}
\pgfpathlineto{\pgfpoint{0pt}{0pt}}
\pgfpathlineto{\pgfpoint{-1.7\pgf@circ@res@step}{.8\pgf@circ@res@step}}
- \pgfpathlineto{\pgfpoint{-1.7\pgf@circ@res@step}{0pt}}
+ \pgfpathclose
\pgfsetcolor{\ctikzvalof{color}}
\pgfusepath{fill}
-
\endpgfscope
}
}