| 1 |
\TFRGB{Utilisation du module}{Package} \textbf{pst-fill} \label{pst-fill} |
| 2 |
|
| 3 |
\psboxfill{\MonMotif} |
| 4 |
|
| 5 |
\begin{center} |
| 6 |
\begin{tabular}{|p{14cm}|} \hline |
| 7 |
\multicolumn{1}{|c|}{ \TFRGB{Création du motif}{Creating the pattern} : \begin{pspicture}(-.5,-.27)(.5,.27) |
| 8 |
\psframe[dimen=middle,fillcolor=yellow,fillstyle=solid,linecolor=blue](-.5,-.25)(.5,.25) |
| 9 |
\pscircle[dimen=middle,fillcolor=magenta,fillstyle=solid,linecolor=magenta]{.1} |
| 10 |
\end{pspicture} |
| 11 |
} \\ \hline |
| 12 |
\BS{}newcommand\AC{{\red \BS{}MonMotif}}\{ |
| 13 |
|
| 14 |
\BS{}begin\AC{pspicture}(1,.5) |
| 15 |
|
| 16 |
\BS{}psframe[dimen=middle,fillcolor=yellow,fillstyle=solid,linecolor=blue](1,.5) |
| 17 |
|
| 18 |
\BS{}pscircle[dimen=middle,fillcolor=magenta,fillstyle=solid,linecolor=magenta](.5,.25)\AC{.1} |
| 19 |
|
| 20 |
\BS{}end\AC{pspicture} \} \\ \hline |
| 21 |
\multicolumn{1}{|c|}{\TFRGB{Utilisation du motif}{Using the pattern} : \BSS{psboxfill}\AC{{\red\BS{}MonMotif}} \BSI{psboxfill}{pst-fill} }\\ \hline |
| 22 |
|
| 23 |
\multicolumn{1}{|l|}{\BS{}pspolygon[fillstyle=\RDDD{boxfill}{fillstyle}](0,.5)(1,2)(3,2)(4,0)(2,.5)}\\ |
| 24 |
\multicolumn{1}{|c|}{\begin{pspicture}(2.5,2.5) \pspolygon[fillstyle=boxfill](0,.5)(1,2)(3,2)(4,0)(2,.5) \end{pspicture} }\\ \hline |
| 25 |
\end{tabular} |
| 26 |
\end{center} |
| 27 |
|
| 28 |
%--------------------------------------------------- |
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
\psset{arrowscale=2} |
| 33 |
\psset{linecolor=blue,fillcolor=yellow,linewidth=1pt} |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
\begin{center} |
| 39 |
\begin{tabular}{|c|c|c|} \hline |
| 40 |
\begin{pspicture}(2.5,2.5) |
| 41 |
\psframe[fillstyle=boxfill,fillangle=90](0,0)(2,2) |
| 42 |
\end{pspicture} |
| 43 |
& |
| 44 |
\begin{pspicture}(4,2.5) |
| 45 |
\pspolygon[fillstyle=boxfill,fillangle=45](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 46 |
\end{pspicture} |
| 47 |
& |
| 48 |
\begin{pspicture}(2.5,2.5) |
| 49 |
\pscircle[fillstyle=boxfill,fillangle=-30](1,1){1} |
| 50 |
\end{pspicture} \\ \hline |
| 51 |
\RDD{fillangle}=90 \RDI{fillangle}{pst-fill} & {\red fillangle}=45 & {\red fillangle}=-30 \\ \hline |
| 52 |
\multicolumn{3}{|c|}{ \blue \dft : 0 }\\ \hline |
| 53 |
|
| 54 |
\end{tabular} |
| 55 |
\end{center} |
| 56 |
|
| 57 |
|
| 58 |
\begin{center} |
| 59 |
\begin{tabular}{|c|c|c|} \hline |
| 60 |
\begin{pspicture}(4,2.5) |
| 61 |
\pspolygon[fillstyle=boxfill,fillsepx=.25cm](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 62 |
\end{pspicture} |
| 63 |
& |
| 64 |
\begin{pspicture}(4,2.5) |
| 65 |
\pspolygon[fillstyle=boxfill,fillsepy=.25cm](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 66 |
\end{pspicture} |
| 67 |
& |
| 68 |
\begin{pspicture}(4,2.5) |
| 69 |
\pspolygon[fillstyle=boxfill,fillsep=.25cm](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 70 |
\end{pspicture} \\ \hline |
| 71 |
\RDD{fillsepx}=.25cm \RDI{fillsepx}{pst-fill} & |
| 72 |
\RDD{fillsepy}=.25cm \RDI{fillsepy}{pst-fill} & \RDD{fillsep}=.25cm \RDI{fillsep}{pst-fill}\\ \hline |
| 73 |
\end{tabular} |
| 74 |
\end{center} |
| 75 |
|
| 76 |
|
| 77 |
\begin{center} |
| 78 |
\begin{tabular}{|c|c|c|} \hline |
| 79 |
\begin{pspicture}(4,2.5) |
| 80 |
\pspolygon[fillstyle=boxfill,fillcyclex=3](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 81 |
\end{pspicture} |
| 82 |
& |
| 83 |
\begin{pspicture}(4,2.5) |
| 84 |
\pspolygon[fillstyle=boxfill,fillcycley=3](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 85 |
\end{pspicture} |
| 86 |
& |
| 87 |
\begin{pspicture}(4,2.5) |
| 88 |
\pspolygon[fillstyle=boxfill,fillcycle=3](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 89 |
\end{pspicture} \\ \hline |
| 90 |
\RDD{fillcyclex}=3 \RDI{fillcyclex}{pst-fill} & |
| 91 |
\RDD{fillcycley}=3 \RDI{fillcycley}{pst-fill} & |
| 92 |
\RDD{fillcycle}=3 \RDI{fillcycle}{pst-fill} \\ \hline |
| 93 |
\multicolumn{3}{|c|}{ 3 \TFRGB{correspond à}{corresponds to} $1/3$, {\blue \dft : 0} }\\ \hline |
| 94 |
\end{tabular} |
| 95 |
\end{center} |
| 96 |
|
| 97 |
\begin{center} |
| 98 |
\begin{tabular}{|c|c|c|} \hline |
| 99 |
\begin{pspicture}(4,2.5) |
| 100 |
\pspolygon[fillstyle=boxfill,fillmovex=.1](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 101 |
\end{pspicture} |
| 102 |
& |
| 103 |
\begin{pspicture}(4,2.5) |
| 104 |
\pspolygon[fillstyle=boxfill,fillmovey=.1](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 105 |
\end{pspicture} |
| 106 |
& |
| 107 |
\begin{pspicture}(4,2.5) |
| 108 |
\pspolygon[fillstyle=boxfill,fillmove=.1](0,.5)(1,2)(3,2)(4,0)(2,.5) |
| 109 |
\end{pspicture} \\ \hline |
| 110 |
\RDD{fillmovex}=.1 \RDI{fillmovex}{pst-fill} & |
| 111 |
\RDD{fillmovey}=.1 \RDI{fillmovey}{pst-fill} & \RDD{fillmove}=.1 \RDI{fillmove}{pst-fill} \\ \hline |
| 112 |
\multicolumn{3}{|c|}{ .1 \TFRGB{correspond à}{corresponds to} 0,1 cm , {\blue \dft : 0 }}\\ \hline |
| 113 |
\end{tabular} |
| 114 |
\end{center} |
| 115 |
|
| 116 |
|
| 117 |
\begin{center} |
| 118 |
\begin{tabular}{|c|c|c|c|} \hline |
| 119 |
\multicolumn{4}{|c|}{\BS{}pspolygon[fillstyle=boxfill](0.6,.7)(1.8,2.4)(2.3,.6)(4,1.2)(2.5,.3) }\\ \hline |
| 120 |
\begin{pspicture}(.5,0)(4,3) |
| 121 |
\pspolygon[fillstyle=boxfill](0.6,.7)(1.8,2.4)(2.3,1.6)(3.8,1.2)(2.5,.3) |
| 122 |
\end{pspicture} |
| 123 |
& |
| 124 |
\begin{pspicture}(.5,0)(4,3) |
| 125 |
\pspolygon[fillstyle=boxfill,fillloopaddx=1](0.6,.7)(1.8,2.4)(2.3,1.6)(3.8,1.2)(2.5,.3) |
| 126 |
\end{pspicture} |
| 127 |
& |
| 128 |
\begin{pspicture}(.5,0)(4,3) |
| 129 |
\pspolygon[fillstyle=boxfill,fillloopaddy=1](0.6,.7)(1.8,2.4)(2.3,1.6)(3.8,1.2)(2.5,.3) |
| 130 |
\end{pspicture} |
| 131 |
& |
| 132 |
\begin{pspicture}(.5,0)(4,3) |
| 133 |
\pspolygon[fillstyle=boxfill,fillloopadd=1](0.6,.7)(1.8,2.4)(2.3,1.6)(3.8,1.2)(2.5,.3) |
| 134 |
\end{pspicture} \\ \hline |
| 135 |
& |
| 136 |
\RDD{fillloopaddx}=1 \RDI{fillloopaddx}{pst-fill} & \RDD{fillloopaddy}=1 \RDI{fillloopaddy}{pst-fill} & |
| 137 |
\RDD{fillloopadd}=1 \RDI{fillloopadd}{pst-fill} \\ \hline |
| 138 |
\multicolumn{4}{|c|}{\blue \dft : 0} \\ \hline |
| 139 |
\end{tabular} |
| 140 |
\end{center} |