summaryrefslogtreecommitdiff
path: root/info/visualpstricks/Source/pst5.tex
blob: 74dd207dfc05e3d92c8399fab8849615c45845bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
%\section{Notion de chemin  PSTricks }
\SSCT{Notion de chemin  PSTricks }{Path PSTricks}

\label{chem}

\begin{tabular}{|c|c|} \hline  
\begin{pspicture}*[shift=*](-1,-1)(5,4)
\psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
\pscustom[linecolor=blue]{ \psline[linecolor=red](0,0)(1,2)(2,2)  
\psarc[linestyle=dashed](2,2){2}{-60}{60} 
 \fill[fillstyle=solid,fillcolor=green] }
\end{pspicture}
&  
\parbox[c]{8cm}{
\BSS{pscustom}[{\red linecolor=blue}]\{ \\

 \BS{psline}[{\red linecolor=red} ](0,0)(1,2)\\

\BS{psarc}[{\red linestyle=dashed}](2,2)\AC{2}\{-60\}\{60\} \\ 


 \BS{fill}[fillstyle=solid,fillcolor=green] \\ 
 \} }
\\ \hline 
\end{tabular}
\bigskip


\begin{tabular}{|c|c|}\hline 
\multicolumn{2}{|l|}{\BSS{pscustom} \{ \BS{psline}(0,0)(1,2)(2,2) \BS{psarc}[\RDD{liftpen}=1](2,2)\AC{2}\AC{-60}\AC{60}  } \\
\multicolumn{2}{|l|}{
 \BS{fill}[fillstyle=solid,fillcolor=green] \} } \\ \hline
\begin{pspicture}*(-1,-1)(5,4)
\psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
\pscustom{\psline(0,0)(1,2)(2,2)  
\psarc[liftpen=1](2,2){2}{-60}{60} 
 \fill[fillstyle=solid,fillcolor=green]}
\end{pspicture}
 &  
\begin{pspicture}*(-1,-1)(5,4)
\psgrid[gridcolor=lightgray,subgridcolor=white](0,0)(0,0)(9,4)
\pscustom[linecolor=blue]{ \psline[linecolor=red](0,0)(1,2)(2,2)  
\psarc[liftpen=2](2,2){2}{-60}{60} 
 \fill[fillstyle=solid,fillcolor=green]}
\end{pspicture} 
 \\ 
\hline \RDD{liftpen}=1 &  \RDD{liftpen}=2\\ 
\hline 
\end{tabular} 

\bigskip


\begin{tabular}{|c|c|} \hline 
\multicolumn{2}{|l|}{\BSS{pscustom}[fillstyle=\RDD{eofill},fillcolor=green]\{} \\
\multicolumn{2}{|l|}{\BS{pscircle}(2,2)\AC{2}
\BS{pscircle}(4,2)\AC{2}\}} \\ \hline
 \begin{pspicture}(6,4)
\pscustom[fillstyle=eofill,fillcolor=green]{
\pscircle(2,2){2}
\pscircle(4,2){2}}
\end{pspicture}
&  
 \begin{pspicture}(6,4)
\pscustom[fillstyle=oefill,fillcolor=green]{
\pscircle(2,2){2}
\pscircle(4,2){2}}
\end{pspicture}
\\ \hline 
fillstyle= \RDDD{eofill}{fillstyle} & fillstyle= \RDDD{oefill}{fillstyle}\\ 
\hline 
\end{tabular}