diff options
author | Karl Berry <karl@freefriends.org> | 2018-10-24 20:29:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-10-24 20:29:56 +0000 |
commit | 5eaeb0a62717f47efd6054e4390f8b707e9cf584 (patch) | |
tree | 96269dfed16121ce2cf8fd9892b866d23a70a4eb /Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def | |
parent | 30b9b7d8c9b8077080f2effe72911dc9085e9777 (diff) |
pgf-cmykshadings (24oct18)
git-svn-id: svn://tug.org/texlive/trunk@48982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def index 169e4a2bf7a..49768f0be21 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-dvipdfm.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,14 +42,15 @@ %% shadings. %% \ProvidesFile{pgfsys-cmykshadings-dvipdfm.def}% - [2018/10/18 CMYK shadings support for PGF dvipdfm driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF dvipdfm driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% \pgf@process{\pgfpoint{\pgf@max}{#2}}% \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgf@max\space - height \the\pgf@y}}}\@temp% + height \the\pgf@y}}}\@temp \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: put @resources << /Shading << /Sh << /ShadingType 2 @@ -73,7 +74,7 @@ \pgf@process{\pgfpoint{\pgf@max}{#2}}% \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgf@y\space - height \the\pgf@max\space}}}\@temp% + height \the\pgf@max\space}}}\@temp \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: put @resources << /Shading << /Sh << /ShadingType 2 @@ -95,16 +96,16 @@ {% \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\relax% - \advance\pgf@ya by \pgf@y\relax% + \advance\pgf@xa by \pgf@x\relax + \advance\pgf@ya by \pgf@y\relax \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\relax% + \pgfutil@tempdima=2\pgf@max\relax \edef\@temp{\noexpand\pgfutil@insertatbegincurrentpage{% \special{pdf: beginxobj @pgfshade#1 width \the\pgfutil@tempdima\space height \the\pgfutil@tempdima}}}\@temp% |