diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-22 17:55:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-22 17:55:12 +0000 |
commit | ed80c4f7098edf2e77cf9733453b78815de48b16 (patch) | |
tree | 7efb0f789c9d8348b55f7c7565beadca4b936532 /Master/texmf-dist/tex/generic | |
parent | 9da98529e177e6454863e2131dfdb16dc2c37e85 (diff) |
pst-slpe 1.3 (21sep08)
git-svn-id: svn://tug.org/texlive/trunk@10689 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic')
-rw-r--r-- | Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex b/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex index bb7a913e0e5..870cf8480cb 100644 --- a/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex +++ b/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex @@ -24,8 +24,8 @@ %% of the LaTeX Project Public License Distributed from CTAN archives %% in directory macros/latex/base/lppl.txt. %% -\def\pstslpefileversion{1.2} -\def\pstslpefiledate{2008/06/19} +\def\pstslpefileversion{1.3} +\def\pstslpefiledate{2008/09/20} \message{ v\pstslpefileversion, \pstslpefiledate} \csname PstSlopeLoaded\endcsname \let\PstSlopeLoaded\endinput @@ -61,11 +61,17 @@ \psset[pst-slpe]{slopecenter={0.5 0.5}}% --> hv \define@key[psset]{pst-slpe}{sloperadius}{\pst@getlength{#1}\psx@sloperadius}% --> hv \psset[pst-slpe]{sloperadius=0}% --> hv +\define@boolkey[psset]{pst-slpe}[PST@]{fading}[true]{}% --> hv +\psset[pst-slpe]{fading=false}% --> hv +\define@key[psset]{pst-slpe}{startfading}{\pst@checknum{#1}\psk@startfading }% --> hv +\define@key[psset]{pst-slpe}{endfading}{\pst@checknum{#1}\psk@endfading }% --> hv +\psset[pst-slpe]{startfading=0,endfading=1}% --> hv \def\psfs@slopes{% \addto@pscode{ \psx@slopecolors\space \psslopesteps \psx@slopeangle + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi tx@PstSlopeDict begin SlopesFill end}} \def\psfs@slope{% \addto@pscode{% @@ -74,11 +80,14 @@ 1 \pst@usecolor\psslopeend currentrgbcolor 2 grestore - \psslopesteps \psx@slopeangle tx@PstSlopeDict begin SlopesFill end}} + \psslopesteps \psx@slopeangle + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi + tx@PstSlopeDict begin SlopesFill end}} \def\psfs@ccslopes{% \addto@pscode{% \psx@slopecolors\space \psslopesteps \psx@slopecenter\space \psx@sloperadius\space + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi tx@PstSlopeDict begin CcSlopesFill end}} \def\psfs@ccslope{% \addto@pscode{% @@ -86,11 +95,13 @@ 1 \pst@usecolor\psslopeend currentrgbcolor 2 grestore \psslopesteps \psx@slopecenter\space \psx@sloperadius\space + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi tx@PstSlopeDict begin CcSlopesFill end}} \def\psfs@radslopes{% \addto@pscode{% \psx@slopecolors\space \psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi tx@PstSlopeDict begin RadSlopesFill end}} \def\psfs@radslope{% \addto@pscode{% @@ -101,6 +112,7 @@ 4 \pst@usecolor\psslopebegin currentrgbcolor 5 grestore \psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle + \ifPST@fading \psk@startfading \psk@endfading true \else false \fi tx@PstSlopeDict begin RadSlopesFill end}} \def\psBall{\pst@object{psBall}} \def\psBall@i{\@ifnextchar(\psBall@ii{\psBall@ii(0,0)}} |