diff options
author | Karl Berry <karl@freefriends.org> | 2007-06-17 23:22:38 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-06-17 23:22:38 +0000 |
commit | 5c5c7843fbd37c6960799b6e1a32d5948966316c (patch) | |
tree | ea73f6b5ba799656992ebe2f34beccd2555f1342 /Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex | |
parent | f0c1f4cdb9fad83f293fd91d194538425f9f7633 (diff) |
pgf 1.18 (15jun07)
git-svn-id: svn://tug.org/texlive/trunk@4459 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex | 140 |
1 files changed, 70 insertions, 70 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex b/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex index bbbe9580b26..bdf4906c1be 100644 --- a/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex +++ b/Master/texmf-dist/tex/generic/pgf/basiclayer/pgfcorearrows.code.tex @@ -7,7 +7,7 @@ % % See the file doc/generic/pgf/licenses/LICENSE for more details. -\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/basiclayer/pgfcorearrows.code.tex,v 1.6 2006/10/16 22:32:58 tantau Exp $ +\ProvidesFileRCS $Header: /cvsroot/pgf/pgf/generic/pgf/basiclayer/pgfcorearrows.code.tex,v 1.8 2007/06/07 07:41:10 tantau Exp $ % Sets the end arrow @@ -186,8 +186,8 @@ }% } -\def\pgfarrowsleftextend#1{\setlength\pgf@xa{#1}} -\def\pgfarrowsrightextend#1{\setlength\pgf@xb{#1}} +\def\pgfarrowsleftextend#1{\pgfmathsetlength\pgf@xa{#1}} +\def\pgfarrowsrightextend#1{\pgfmathsetlength\pgf@xb{#1}} \def\pgf@arrows@repeat#1#2{% \edef\pgf@arrows@marshal{\noexpand\let\expandafter\noexpand\csname#2\endcsname=\expandafter\noexpand\csname#1\endcsname}% @@ -283,7 +283,7 @@ {\expandafter\noexpand\csname pgf@arrow@code@#7\endcsname}% \noexpand\endpgfscope% {% - \noexpand\setlength\pgf@x{#1}% + \noexpand\pgfmathsetlength\pgf@x{#1}% \noexpand\pgf@process{\expandafter\noexpand\csname pgf@arrow@left@#7\endcsname}% \noexpand\pgf@process{\expandafter\noexpand\csname pgf@arrow@right@#5\endcsname}% \pgf@x=-\pgf@x% @@ -293,7 +293,7 @@ \pgf@arrows@repeat{pgf@arrow@right@#7}{pgf@arrow@right@#3}% \expandafter\def\csname pgf@arrow@left@#3\endcsname{% \pgf@process{% - \setlength\pgf@y{#1}% + \pgfmathsetlength\pgf@y{#1}% \advance\pgf@x by\pgf@y% \pgf@process{\csname pgf@arrow@left@#7\endcsname}% \pgf@process{\csname pgf@arrow@right@#5\endcsname}% @@ -317,7 +317,7 @@ \expandafter\edef\csname pgf@arrow@code@#3\endcsname{% \noexpand\pgfscope% {% - \noexpand\setlength\pgf@x{#1}% + \noexpand\pgfmathsetlength\pgf@x{#1}% \pgf@process{\expandafter\noexpand\csname pgf@arrow@left@#7\endcsname}% \pgf@process{\expandafter\noexpand\csname pgf@arrow@right@#5\endcsname}% \noexpand\pgflowlevel{\noexpand\pgftransformxshift{\pgf@x}}% @@ -329,7 +329,7 @@ \pgf@arrows@repeat{pgf@arrow@left@#7}{pgf@arrow@left@#3}% \expandafter\def\csname pgf@arrow@right@#3\endcsname{% \pgf@process{% - \setlength\pgf@y{#1}% + \pgfmathsetlength\pgf@y{#1}% \advance\pgf@x by\pgf@y% \pgf@process{\csname pgf@arrow@left@#7\endcsname}% \pgf@process{\csname pgf@arrow@right@#5\endcsname}% @@ -373,18 +373,18 @@ \pgfarrowsdeclare{stealth}{stealth} { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% - \pgfarrowsleftextend{-3\@tempdima} - \pgfarrowsrightextend{5\@tempdima} + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% + \pgfarrowsleftextend{+-3\pgfutil@tempdima} + \pgfarrowsrightextend{+5\pgfutil@tempdima} } { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% - \pgfpathmoveto{\pgfpoint{5\@tempdima}{0pt}} - \pgfpathlineto{\pgfpoint{-3\@tempdima}{4\@tempdima}} + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% + \pgfpathmoveto{\pgfqpoint{5\pgfutil@tempdima}{0pt}} + \pgfpathlineto{\pgfqpoint{-3\pgfutil@tempdima}{4\pgfutil@tempdima}} \pgfpathlineto{\pgfpointorigin} - \pgfpathlineto{\pgfpoint{-3\@tempdima}{-4\@tempdima}} + \pgfpathlineto{\pgfqpoint{-3\pgfutil@tempdima}{-4\pgfutil@tempdima}} \pgfusepathqfill } @@ -399,57 +399,57 @@ \pgfarrowsdeclare{to}{to} { - \@tempdima=-0.84pt% - \advance\@tempdima by-1.3\pgflinewidth% - \@tempdimb=0.21pt% - \advance\@tempdimb by.625\pgflinewidth% - \pgfarrowsleftextend{\@tempdima} - \pgfarrowsrightextend{\@tempdimb} + \pgfutil@tempdima=-0.84pt% + \advance\pgfutil@tempdima by-1.3\pgflinewidth% + \pgfutil@tempdimb=0.21pt% + \advance\pgfutil@tempdimb by.625\pgflinewidth% + \pgfarrowsleftextend{+\pgfutil@tempdima} + \pgfarrowsrightextend{+\pgfutil@tempdimb} } { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% \pgfsetlinewidth{0.8\pgflinewidth} - \pgfsetdash{}{0pt} + \pgfsetdash{}{+0pt} \pgfsetroundcap \pgfsetroundjoin - \pgfpathmoveto{\pgfpoint{-3\@tempdima}{4\@tempdima}} + \pgfpathmoveto{\pgfqpoint{-3\pgfutil@tempdima}{4\pgfutil@tempdima}} \pgfpathcurveto - {\pgfpoint{-2.75\@tempdima}{2.5\@tempdima}} - {\pgfpoint{0pt}{0.25\@tempdima}} - {\pgfpoint{0.75\@tempdima}{0pt}} + {\pgfqpoint{-2.75\pgfutil@tempdima}{2.5\pgfutil@tempdima}} + {\pgfqpoint{0pt}{0.25\pgfutil@tempdima}} + {\pgfqpoint{0.75\pgfutil@tempdima}{0pt}} \pgfpathcurveto - {\pgfpoint{0pt}{-0.25\@tempdima}} - {\pgfpoint{-2.75\@tempdima}{-2.5\@tempdima}} - {\pgfpoint{-3\@tempdima}{-4\@tempdima}} + {\pgfqpoint{0pt}{-0.25\pgfutil@tempdima}} + {\pgfqpoint{-2.75\pgfutil@tempdima}{-2.5\pgfutil@tempdima}} + {\pgfqpoint{-3\pgfutil@tempdima}{-4\pgfutil@tempdima}} \pgfusepathqstroke } \pgfarrowsdeclare{to reversed}{to reversed} { - \@tempdima=-0.21pt% - \advance\@tempdima by-0.475\pgflinewidth% - \@tempdimb=0.98pt% - \advance\@tempdimb by1.45\pgflinewidth% - \pgfarrowsleftextend{\@tempdima} - \pgfarrowsrightextend{\@tempdimb} + \pgfutil@tempdima=-0.21pt% + \advance\pgfutil@tempdima by-0.475\pgflinewidth% + \pgfutil@tempdimb=0.98pt% + \advance\pgfutil@tempdimb by1.45\pgflinewidth% + \pgfarrowsleftextend{+\pgfutil@tempdima} + \pgfarrowsrightextend{+\pgfutil@tempdimb} } { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% - \pgfsetlinewidth{0.8\pgflinewidth} - \pgfsetdash{}{0pt} + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% + \pgfsetlinewidth{+0.8\pgflinewidth} + \pgfsetdash{}{+0pt} \pgfsetroundcap \pgfsetroundjoin - \pgfpathmoveto{\pgfpoint{3.5\@tempdima}{4\@tempdima}} + \pgfpathmoveto{\pgfqpoint{3.5\pgfutil@tempdima}{4\pgfutil@tempdima}} \pgfpathcurveto - {\pgfpoint{3.25\@tempdima}{2.5\@tempdima}} - {\pgfpoint{0.5\@tempdima}{0.25\@tempdima}} - {\pgfpoint{-0.25\@tempdima}{0\@tempdima}} + {\pgfqpoint{3.25\pgfutil@tempdima}{2.5\pgfutil@tempdima}} + {\pgfqpoint{0.5\pgfutil@tempdima}{0.25\pgfutil@tempdima}} + {\pgfqpoint{-0.25\pgfutil@tempdima}{0\pgfutil@tempdima}} \pgfpathcurveto - {\pgfpoint{0.5\@tempdima}{-0.25\@tempdima}} - {\pgfpoint{3.25\@tempdima}{-2.5\@tempdima}} - {\pgfpoint{3.5\@tempdima}{-4\@tempdima}} + {\pgfqpoint{0.5\pgfutil@tempdima}{-0.25\pgfutil@tempdima}} + {\pgfqpoint{3.25\pgfutil@tempdima}{-2.5\pgfutil@tempdima}} + {\pgfqpoint{3.5\pgfutil@tempdima}{-4\pgfutil@tempdima}} \pgfusepathqstroke } @@ -463,24 +463,24 @@ \pgfarrowsdeclare{latex}{latex} { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% - \pgfarrowsleftextend{-1\@tempdima} - \pgfarrowsrightextend{9\@tempdima} + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% + \pgfarrowsleftextend{+-1\pgfutil@tempdima} + \pgfarrowsrightextend{+9\pgfutil@tempdima} } { - \@tempdima=0.28pt% - \advance\@tempdima by.3\pgflinewidth% - \pgfpathmoveto{\pgfpoint{9\@tempdima}{0pt}} + \pgfutil@tempdima=0.28pt% + \advance\pgfutil@tempdima by.3\pgflinewidth% + \pgfpathmoveto{\pgfqpoint{9\pgfutil@tempdima}{0pt}} \pgfpathcurveto - {\pgfpoint{6.3333\@tempdima}{.5\@tempdima}} - {\pgfpoint{2\@tempdima}{2\@tempdima}} - {\pgfpoint{-1\@tempdima}{3.75\@tempdima}} - \pgfpathlineto{\pgfpoint{-1\@tempdima}{-3.75\@tempdima}} + {\pgfqpoint{6.3333\pgfutil@tempdima}{.5\pgfutil@tempdima}} + {\pgfqpoint{2\pgfutil@tempdima}{2\pgfutil@tempdima}} + {\pgfqpoint{-1\pgfutil@tempdima}{3.75\pgfutil@tempdima}} + \pgfpathlineto{\pgfqpoint{-1\pgfutil@tempdima}{-3.75\pgfutil@tempdima}} \pgfpathcurveto - {\pgfpoint{2\@tempdima}{-2\@tempdima}} - {\pgfpoint{6.3333\@tempdima}{-.5\@tempdima}} - {\pgfpoint{9\@tempdima}{0pt}} + {\pgfqpoint{2\pgfutil@tempdima}{-2\pgfutil@tempdima}} + {\pgfqpoint{6.3333\pgfutil@tempdima}{-.5\pgfutil@tempdima}} + {\pgfqpoint{9\pgfutil@tempdima}{0pt}} \pgfusepathqfill } \pgfarrowsdeclarereversed{latex reversed}{latex reversed}{latex}{latex} @@ -495,16 +495,16 @@ \pgfarrowsdeclare{|}{|} { - \pgfarrowsleftextend{-0.25\pgflinewidth} - \pgfarrowsrightextend{.75\pgflinewidth} + \pgfarrowsleftextend{+-0.25\pgflinewidth} + \pgfarrowsrightextend{+.75\pgflinewidth} } { - \@tempdima=2pt% - \advance\@tempdima by1.5\pgflinewidth% - \pgfsetdash{}{0pt} + \pgfutil@tempdima=2pt% + \advance\pgfutil@tempdima by1.5\pgflinewidth% + \pgfsetdash{}{+0pt} \pgfsetrectcap - \pgfpathmoveto{\pgfpoint{0.25\pgflinewidth}{-\@tempdima}} - \pgfpathlineto{\pgfpoint{0.25\pgflinewidth}{\@tempdima}} + \pgfpathmoveto{\pgfqpoint{0.25\pgflinewidth}{-\pgfutil@tempdima}} + \pgfpathlineto{\pgfqpoint{0.25\pgflinewidth}{\pgfutil@tempdima}} \pgfusepathqstroke } |