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-pdftex.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-pdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def index 67cc7aae51e..6073ffea8e2 100644 --- a/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.def +++ b/Master/texmf-dist/tex/latex/pgf-cmykshadings/pgfsys-cmykshadings-pdftex.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-pdftex.def}% - [2018/10/17 CMYK shadings support for PGF pdftex driver (DCP)] + [2018/10/24 + CMYK and grayscale shadings support for PGF pdftex driver (DCP)] \def\pgfsys@horishading#1#2#3{% {% \pgf@parsefunc{#3}% @@ -89,11 +90,11 @@ \setbox\pgfutil@tempboxa=\hbox to2\pgf@max{% \vbox to2\pgf@max{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \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}% @@ -119,21 +120,21 @@ \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% - \advance\pgf@x by-\pgf@xa% - \advance\pgf@y by-\pgf@ya% + \pgf@xb=\pgf@x + \pgf@yb=\pgf@y + \advance\pgf@x by-\pgf@xa + \advance\pgf@y by-\pgf@ya \setbox\pgfutil@tempboxa=\hbox to\pgf@x{% \vbox to\pgf@y{\vfil\pgfsys@invoke{/Sh sh}}\hfil}% \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 \pdfobj stream |