diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-12 22:52:09 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-12 22:52:09 +0000 |
commit | 5440276d0dda2eb514887c87b7d9ab67c49d6a85 (patch) | |
tree | d049310bacc13fea75165368176f70542756a5e6 /Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex | |
parent | bb25bb8b4c057e717bace5e04140c0a0c4a75b88 (diff) |
pst-solides3d (12dec16)
git-svn-id: svn://tug.org/texlive/trunk@42686 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex')
-rw-r--r-- | Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex b/Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex new file mode 100644 index 00000000000..939256bd115 --- /dev/null +++ b/Master/texmf-dist/doc/generic/pst-solides3d/text/par-commandestrace-en.tex @@ -0,0 +1,48 @@ +\section{Commands for drawing} + +The parameter for \Index{drawing} comes with the key value \Lkeyword{action} within the command +\Lcs{psSolid}. + +Four values are possible: +\begin{compactitem} +\item \Lkeyval{none}: nothing is drawn. +\item \Lkeyval{draw}: draws the solid as a framework and sets up dashed lines for the hidden edges. +\item \Lkeyval{draw*}: draws the solid with dashed lines for the hidden edges and colours the visible faces. +\item \Lkeyword{draw**}: draws the solid with a painting algorithm, without the + hidden edges and with colouration of the visible faces. +\end{compactitem} +\encadre{The key values \Lkeyval{draw} and \Lkeyword{draw*} only make sense for convex solids.} + +\begin{center} +%% + +\psset{viewpoint=50 -20 30 rtp2xyz} +%% +\hfil +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\psframe(-2.5,-2.5)(2.5,2.5) +\psset{Decran=20} +\psSolid[object=cube,action=draw,RotZ=20]% +\rput(-1,-2){\texttt{draw}} +\end{pspicture} +\hfil +%% +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\psframe(-2.5,-2.5)(2.5,2.5) +\psset{Decran=20} +\psSolid[object=cube,action=draw*,fillcolor=magenta!20,RotZ=20]% +\rput(-1,-2){\texttt{draw*}} +\end{pspicture} +\hfil +%% +\begin{pspicture}(-2.5,-2.5)(2.5,2.5) +\psframe(-2.5,-2.5)(2.5,2.5) +\psset{Decran=20} +\psSolid[object=cube,fillcolor=magenta!20,RotZ=20]% +\rput(-1,-2){\texttt{draw**}} +\end{pspicture} +\hfil +%% +\end{center} + +\endinput |