summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def')
-rw-r--r--Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def33
1 files changed, 17 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
index 2f6eb52168a..89cf7f18190 100644
--- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
+++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfmx.def
@@ -25,7 +25,7 @@
%% pgf-cmykshadings.dtx, README.md, and the derived files
%% - pgf-cmykshadings.sty
%% - pgfsys-cmykshadings-pdftex.def
-%% - pgfsys-cmykshadgins-xetex.def
+%% - pgfsys-cmykshadings-xetex.def
%% - pgfsys-cmykshadings-luatex.def
%% - pgfsys-cmykshadings-dvipdfmx.def
%% - pgfsys-cmykshadings-dvipdfm.def
@@ -42,7 +42,8 @@
%% shadings.
%%
\ProvidesFile{pgfsys-cmykshadings-dvipdfmx.def}%
- [2018/10/17 CMYK shadings support for PGF dvipdfmx driver (DCP)]
+ [2018/10/24
+ CMYK and grayscale shadings support for PGF dvipdfmx driver (DCP)]
\def\pgfsys@horishading#1#2#3{%
{%
\pgf@parsefunc{#3}%
@@ -95,22 +96,22 @@
\expandafter\xdef\csname @pgfshading#1@model!\endcsname{%
\pgf@shading@model}%
}%
- \global\advance\pgfsys@objnum\@ne%
+ \global\advance\pgfsys@objnum\@ne
}
\def\pgfsys@radialshading#1#2#3{%
{%
\pgf@parsefunc{#3}%
\pgf@process{#2}%
- \pgf@xa=\pgf@x%
- \pgf@ya=\pgf@y%
+ \pgf@xa=\pgf@x
+ \pgf@ya=\pgf@y
\pgf@process{\pgfpoint{\pgf@max}{\pgf@max}}%
- \advance\pgf@xa by \pgf@x%
- \advance\pgf@ya by \pgf@y%
+ \advance\pgf@xa by \pgf@x
+ \advance\pgf@ya by \pgf@y
\pgf@sys@bp@correct{\pgf@x}%
\pgf@sys@bp@correct{\pgf@y}%
\pgf@sys@bp@correct{\pgf@xa}%
\pgf@sys@bp@correct{\pgf@ya}%
- \pgfutil@tempdima=2\pgf@max%
+ \pgfutil@tempdima=2\pgf@max
\edef\@tempa{\noexpand\pgfutil@insertatbegincurrentpagefrombox{%
\special{pdf:bxobj @pgfshade\the\pgfsys@objnum\space
width \the\pgfutil@tempdima\space height \the\pgfutil@tempdima}%
@@ -135,24 +136,24 @@
\expandafter\xdef\csname @pgfshading#1@model!\endcsname{%
\pgf@shading@model}%
}%
- \global\advance\pgfsys@objnum\@ne%
+ \global\advance\pgfsys@objnum\@ne
}
\def\pgfsys@functionalshading#1#2#3#4{%
{%
\pgf@process{#2}%
- \pgf@xa=\pgf@x%
- \pgf@ya=\pgf@y%
+ \pgf@xa=\pgf@x
+ \pgf@ya=\pgf@y
\pgf@process{#3}%
- \pgf@xb=\pgf@x%
- \pgf@yb=\pgf@y%
+ \pgf@xb=\pgf@x
+ \pgf@yb=\pgf@y
\advance\pgf@x by-\pgf@xa%
\advance\pgf@y by-\pgf@ya%
\pgf@sys@bp@correct{\pgf@xa}%
\pgf@sys@bp@correct{\pgf@ya}%
\pgf@sys@bp@correct{\pgf@xb}%
\pgf@sys@bp@correct{\pgf@yb}%
- \pgf@xc=-\pgf@xa%
- \pgf@yc=-\pgf@ya%
+ \pgf@xc=-\pgf@xa
+ \pgf@yc=-\pgf@ya
% Now build the function
\edef\@tempa{\noexpand\pgfutil@insertatbegincurrentpagefrombox{%
\special{pdf:stream @pgfstream\the\pgfsys@objnum\space({#4})
@@ -181,7 +182,7 @@
\expandafter\xdef\csname @pgfshading#1@model!\endcsname{%
\pgf@shading@model}%
}%
- \global\advance\pgfsys@objnum\@ne%
+ \global\advance\pgfsys@objnum\@ne
}
%%
%%