summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def')
-rw-r--r--Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def46
1 files changed, 21 insertions, 25 deletions
diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
index 2077a2707b9..beadfff3bf1 100644
--- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
+++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-dvipdfmx.def
@@ -94,7 +94,7 @@
\pgfsys@dvipdfmx@start@force@reset@color%
\pgf@sys@bp@correct\pgf@pt@x%
\pgf@sys@bp@correct\pgf@pt@y%
- \special{pdf:btrans matrix \pgf@pt@aa\space \pgf@pt@ab\space \pgf@pt@ba\space \pgf@pt@bb\space
+ \special{pdf:btrans matrix \pgf@pt@aa\space \pgf@pt@ab\space \pgf@pt@ba\space \pgf@pt@bb\space
\pgf@sys@tonumber{\pgf@pt@x} \pgf@sys@tonumber{\pgf@pt@y}}%
\box#1%
\special{pdf:etrans}%
@@ -130,10 +130,9 @@
>>}%
\pgfsys@invoke{/Sh sh}%
\special{pdf:exobj}}}\@tempa% <<
- \xdef\pgfutil@tempa{%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
\hbox to\the\pgf@max{\vbox to\pgfmathresult pt{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
}%
- \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
\global\advance\pgfsys@objnum\@ne%
}
\def\pgfsys@vertshading#1#2#3{%
@@ -154,10 +153,9 @@
>>}%
\pgfsys@invoke{/Sh sh}%
\special{pdf:exobj}}}\@tempa% <<
- \xdef\pgfutil@tempa{%
- \hbox to\pgfmathresult pt{\vbox to\the\pgf@max{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\pgfmathresult pt{\vbox to\the\pgf@max{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
}%
- \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
\global\advance\pgfsys@objnum\@ne%
}
\def\pgfsys@radialshading#1#2#3{%
@@ -187,10 +185,9 @@
>>}%
\pgfsys@invoke{/Sh sh}%
\special{pdf:exobj}}}\@tempa% <<
- \xdef\pgfutil@tempa{%
- \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \hbox to\the\pgfutil@tempdima{\vbox to\the\pgfutil@tempdima{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
}%
- \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
\global\advance\pgfsys@objnum\@ne%
}
\def\pgfsys@functionalshading#1#2#3#4{%
@@ -223,10 +220,9 @@
/Function @pgfstream\the\pgfsys@objnum>> >> >>}%
\pgfsys@invoke{/Sh sh}%
\special{pdf:exobj}}}\@tempa% <<
- \xdef\pgfutil@tempa{%
- \leavevmode\hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
+ \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+ \leavevmode\hbox to\the\pgf@x{\vbox to\the\pgf@y{\vfil\special{pdf:uxobj @pgfshade\the\pgfsys@objnum}}\hfil}}%
}%
- \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
\global\advance\pgfsys@objnum\@ne%
}
@@ -351,23 +347,23 @@
\pgf@sys@bp@correct\pgf@yc%
% Now create the pattern object:
\pgfsys@dvipdfmx@patternobj{%
- \pgfsys@dvipdfmx@stream{@pgfpatternobject#1}{#8}{%
- /Type /Pattern
- /PatternType 1
- /PaintType \ifnum#9=0 2 \else 1 \fi
- /TilingType 1
- /BBox [\pgf@sys@tonumber\pgf@xa\space\pgf@sys@tonumber\pgf@ya\space\pgf@sys@tonumber\pgf@xb\space\pgf@sys@tonumber\pgf@yb]
- /XStep \pgf@sys@tonumber\pgf@xc\space
- /YStep \pgf@sys@tonumber\pgf@yc\space
- /Resources << >> %<<
- }%
+ \pgfsys@dvipdfmx@stream{@pgfpatternobject#1}{#8}{%
+ /Type /Pattern
+ /PatternType 1
+ /PaintType \ifnum#9=0 2 \else 1 \fi
+ /TilingType 1
+ /BBox [\pgf@sys@tonumber\pgf@xa\space\pgf@sys@tonumber\pgf@ya\space\pgf@sys@tonumber\pgf@xb\space\pgf@sys@tonumber\pgf@yb]
+ /XStep \pgf@sys@tonumber\pgf@xc\space
+ /YStep \pgf@sys@tonumber\pgf@yc\space
+ /Resources << >> %<<
+ }%
}%
\pgfutil@addpdfresource@patterns{/pgfpat#1\space @pgfpatternobject#1}%
}
% hook for xdvipdfmx:
\def\pgfsys@dvipdfmx@patternobj#1{%
- #1%
+ #1%
}%
% hook for xdvipdfmx:
@@ -497,6 +493,6 @@
\endinput
-%%% Local Variables:
+%%% Local Variables:
%%% mode: latex
-%%% End:
+%%% End: