summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/pst-slpe
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:46:03 +0000
commit873660d1a83ece926fe7206288dda9c36b349c1b (patch)
treea48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/pst-slpe
parent2939242967231097459df0fc3150fabc2f639111 (diff)
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/pst-slpe')
-rw-r--r--Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex105
1 files changed, 105 insertions, 0 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
new file mode 100644
index 00000000000..c7a90d05d26
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/pst-slpe/pst-slpe.tex
@@ -0,0 +1,105 @@
+%%
+%% This is file `pst-slpe.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% pst-slpe.dtx (with options: `texfile')
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For the copyright see the source file.
+%%
+%% Any modified versions of this file must be renamed
+%% with new filenames distinct from pst-slpe.tex.
+%%
+%% For distribution of the original source see the terms
+%% for copying and modification in the file pst-slpe.dtx.
+%%
+%% This generated file may be distributed as long as the
+%% original source files, as listed above, are part of the
+%% same distribution. (The sources need not necessarily be
+%% in the same archive or directory.)
+\def\pstslpefileversion{1.1}
+\def\pstslpefiledate{2005/10/05}
+\message{ v\pstslpefileversion, \pstslpefiledate}
+\csname PstSlopeLoaded\endcsname
+\let\PstSlopeLoaded\endinput
+\ifx\PSTricksLoaded\endinput\else
+ \def\next{\input pstricks.tex }\expandafter\next
+\fi
+\ifx\PSTXKeyLoaded\endinput\else\input pst-xkey \fi % --> hv
+\edef\TheAtCode{\the\catcode`\@}
+\catcode`\@=11
+\pst@addfams{pst-slpe} % --> hv
+\pstheader{pst-slpe.pro}
+\newrgbcolor{slopebegin}{0.9 1 0}
+\define@key[psset]{pst-slpe}{slopebegin}{\pst@getcolor{#1}\psslopebegin}% --> hv
+\psset[pst-slpe]{slopebegin=slopebegin} % --> hv
+
+\newrgbcolor{slopeend}{0 0 1}
+\define@key[psset]{pst-slpe}{slopeend}{\pst@getcolor{#1}\psslopeend}% --> hv
+\psset[pst-slpe]{slopeend=slopeend}% --> hv
+
+\define@key[psset]{pst-slpe}{slopesteps}{\pst@getint{#1}\psslopesteps}% --> hv
+\psset[pst-slpe]{slopesteps=100}% --> hv
+
+\define@key[psset]{pst-slpe}{slopeangle}{\pst@getangle{#1}\psx@slopeangle}% --> hv
+\psset[pst-slpe]{slopeangle=0}% --> hv
+\define@key[psset]{pst-slpe}{slopecolors}{\def\psx@slopecolors{#1}}% --> hv
+\psset[pst-slpe]{slopecolors={% --> hv
+0.0 1 0 0
+0.4 0 1 0
+0.8 0 0 1
+1.0 1 0 1
+4}}
+\define@key[psset]{pst-slpe}{slopecenter}{\def\psx@slopecenter{#1}}% --> hv
+\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
+\def\psfs@slopes{%
+ \addto@pscode{
+ \psx@slopecolors\space
+ \psslopesteps
+ \psx@slopeangle
+ tx@PstSlopeDict begin SlopesFill end}}
+\def\psfs@slope{%
+ \addto@pscode{%
+ gsave
+ 0 \pst@usecolor\psslopebegin currentrgbcolor
+ 1 \pst@usecolor\psslopeend currentrgbcolor
+ 2
+ grestore
+ \psslopesteps \psx@slopeangle tx@PstSlopeDict begin SlopesFill end}}
+\def\psfs@ccslopes{%
+ \addto@pscode{%
+ \psx@slopecolors\space
+ \psslopesteps \psx@slopecenter\space \psx@sloperadius\space
+ tx@PstSlopeDict begin CcSlopesFill end}}
+\def\psfs@ccslope{%
+ \addto@pscode{%
+ gsave 0 \pst@usecolor\psslopebegin currentrgbcolor
+ 1 \pst@usecolor\psslopeend currentrgbcolor
+ 2 grestore
+ \psslopesteps \psx@slopecenter\space \psx@sloperadius\space
+ tx@PstSlopeDict begin CcSlopesFill end}}
+\def\psfs@radslopes{%
+ \addto@pscode{%
+ \psx@slopecolors\space
+ \psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle
+ tx@PstSlopeDict begin RadSlopesFill end}}
+\def\psfs@radslope{%
+ \addto@pscode{%
+ gsave 0 \pst@usecolor\psslopebegin currentrgbcolor
+ 1 \pst@usecolor\psslopeend currentrgbcolor
+ 2 \pst@usecolor\psslopebegin currentrgbcolor
+ 3 \pst@usecolor\psslopeend currentrgbcolor
+ 4 \pst@usecolor\psslopebegin currentrgbcolor
+ 5 grestore
+ \psslopesteps\psx@slopecenter\space\psx@sloperadius\space\psx@slopeangle
+ tx@PstSlopeDict begin RadSlopesFill end}}
+
+\catcode`\@=\TheAtCode\relax
+\endinput
+%%
+%% End of file `pst-slpe.tex'.