diff options
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex index 121a570f4b5..1461f783f5a 100644 --- a/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/frontendlayer/tikz/libraries/tikzlibrarytopaths.code.tex @@ -1,4 +1,4 @@ -% Copyright 2006 by Till Tantau +% Copyright 2020 by Till Tantau % % This file may be distributed and/or modified % @@ -34,7 +34,7 @@ \pgfmathsetmacro\tikz@to@bend{#1}% \fi% \let\tikz@to@out=\tikz@to@bend% - \pgfmathsetmacro\tikz@to@in{180-\tikz@to@out}% + \pgfmathsetmacro\tikz@to@in{180-(\tikz@to@out)}% \tikz@to@switch@on% \tikz@to@relativetrue% } @@ -46,13 +46,8 @@ \pgfmathsetmacro\tikz@to@bend{#1}% \fi% % Now, negate - \pgfmathsetmacro\tikz@to@out{\tikz@to@bend} - \c@pgf@counta=\tikz@to@bend\relax% - \c@pgf@counta=-\c@pgf@counta\relax% - \edef\tikz@to@out{\the\c@pgf@counta}% - \c@pgf@counta=180\relax% - \advance\c@pgf@counta by-\tikz@to@out\relax% - \edef\tikz@to@in{\the\c@pgf@counta}% + \pgfmathsetmacro\tikz@to@out{-(\tikz@to@bend)} + \pgfmathsetmacro\tikz@to@in{180-(\tikz@to@out)} \tikz@to@switch@on% \tikz@to@relativetrue% } @@ -97,12 +92,12 @@ \def\tikz@to@set@in@looseness#1{% - \def\tikz@to@in@looseness{#1}% + \pgfmathsetmacro\tikz@to@in@looseness{#1}% \let\tikz@to@end@compute=\tikz@to@end@compute@looseness% \tikz@to@switch@on% } \def\tikz@to@set@out@looseness#1{% - \def\tikz@to@out@looseness{#1}% + \pgfmathsetmacro\tikz@to@out@looseness{#1}% \let\tikz@to@start@compute=\tikz@to@start@compute@looseness% \tikz@to@switch@on% } |