From 675266a469958f9238613ad9e8ce6ae637736923 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 5 May 2019 21:38:50 +0000
Subject: pgf

git-svn-id: svn://tug.org/texlive/trunk@51018 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/generic/pgf/systemlayer/pgfsys-pdftex.def  | 32 ++++++++++++----------
 1 file changed, 18 insertions(+), 14 deletions(-)

(limited to 'Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def')

diff --git a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
index f6498264735..1e8df9b6628 100644
--- a/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
+++ b/Master/texmf-dist/tex/generic/pgf/systemlayer/pgfsys-pdftex.def
@@ -32,7 +32,7 @@
       \raise\pgf@pt@y\hbox{%
         \pgf@pt@x=0pt%
         \pgf@pt@y=0pt%
-        \pgflowlevelsynccm% 
+        \pgflowlevelsynccm%
         \pgfsys@hbox#1}%
       \hss%
     }%
@@ -89,8 +89,9 @@
       /Coords [\pgf@doma\space0 \pgf@domb\space0]
       /Function \pgf@pdfparsedfunction
       /Extend [false false] >> >>}\pgfutil@tempboxa% <<
-    \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}% 
+    \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}%
   }%
+  \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
 }
 \def\pgfsys@vertshading#1#2#3{%
   {%
@@ -105,8 +106,9 @@
       /Coords [0 \pgf@doma\space0 \pgf@domb]
       /Function \pgf@pdfparsedfunction
       /Extend [false false] >> >>}\pgfutil@tempboxa% <<
-    \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}%
+    \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}%
   }%
+  \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
 }
 \def\pgfsys@radialshading#1#2#3{%
   {%
@@ -129,8 +131,9 @@
       /Coords [\pgf@sys@tonumber{\pgf@xa} \pgf@sys@tonumber{\pgf@ya} \pgf@doma\space \pgf@sys@tonumber{\pgf@x} \pgf@sys@tonumber{\pgf@y} \pgf@domb]
       /Function \pgf@pdfparsedfunction
       /Extend [true false] >> >>}\pgfutil@tempboxa% <<
-    \expandafter\xdef\csname @pgfshading#1!\endcsname{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}%
+    \xdef\pgfutil@tempa{\leavevmode\noexpand\pdfrefxform\the\pdflastxform}%
   }%
+  \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
 }%
 \def\pgfsys@functionalshading#1#2#3#4{%
   {%
@@ -165,14 +168,15 @@
       /ColorSpace /DeviceRGB
       /Matrix [1 0 0 1 \pgf@sys@tonumber{\pgf@xc}\space\pgf@sys@tonumber{\pgf@yc}]
       /Domain [\pgf@sys@tonumber{\pgf@xa}\space\pgf@sys@tonumber{\pgf@xb}\space\pgf@sys@tonumber{\pgf@ya}\space\pgf@sys@tonumber{\pgf@yb}]
-      /Function \pgf@temp@num\space 0 R 
+      /Function \pgf@temp@num\space 0 R
       >> >>}\pgfutil@tempboxa% <<
-    \expandafter\xdef\csname @pgfshading#1!\endcsname{%
+    \xdef\pgfutil@tempa{%
       \leavevmode%
       \noexpand\pdfrefxform\the\pdflastxform%
       \noexpand\pdfrefobj\pgf@temp@num%
     }%
   }%
+  \expandafter\let\csname @pgfshading#1!\endcsname=\pgfutil@tempa
 }
 
 
@@ -182,7 +186,7 @@
 \def\pgfsys@declarepattern#1#2#3#4#5#6#7#8#9{%
   % Start building the pattern dictionary:
   \pgf@xa=#2\relax%
-  \pgf@ya=#3\relax% 
+  \pgf@ya=#3\relax%
   \pgf@xb=#4\relax%
   \pgf@yb=#5\relax%
   \pgf@xc=#6\relax%
@@ -206,7 +210,7 @@
     /YStep \pgf@sys@tonumber\pgf@yc\space
     /Resources << >> %<<
   }
-  {#8}% 
+  {#8}%
   \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\pdflastobj\space 0 R}%
 }
 
@@ -230,7 +234,7 @@
 \def\pgfsys@declarepattern@meta#1#2#3#4#5#6#7{%
   % Start building the pattern dictionary:
   \pgf@xa=#2\relax%
-  \pgf@ya=#3\relax% 
+  \pgf@ya=#3\relax%
   \pgf@xb=#4\relax%
   \pgf@yb=#5\relax%
   \pgf@xc=#6\relax%
@@ -262,7 +266,7 @@
      /Matrix [#2\space#3\space#4\space#5\space\pgf@sys@tonumber\pgfutil@tempdima\space\pgf@sys@tonumber\pgfutil@tempdimb]
      /Resources << >> %<<
    }
-   {#8}% 
+   {#8}%
    \pgfutil@addpdfresource@patterns{/pgfpat#1\space \the\pdflastobj\space 0 R}%
  }
 
@@ -347,7 +351,7 @@
       /CS /DeviceGray
     >>
   }% <<
-  \pgfutil@tempboxa% 
+  \pgfutil@tempboxa%
   \pgfutil@addpdfresource@extgs{%
     /pgfsmask\the\pdflastxform\space
     <<
@@ -422,12 +426,12 @@
 \pgfutil@addpdfresource@colorspaces{ /pgfprgb [/Pattern /DeviceRGB] }
 
 \def\pgfsys@color@unstacked#1{%
-	\pdfliteral{\csname\string\color@#1\endcsname}%
+    \pdfliteral{\csname\string\color@#1\endcsname}%
 }
 
 \endinput
 
 
-%%% Local Variables: 
+%%% Local Variables:
 %%% mode: latex
-%%% End: 
+%%% End:
-- 
cgit v1.2.3

