Debian Codegraph @

freehep-graphicsio-latex/src/test/resources/latex/TestPaint.tex

raw
1 \documentclass{article}
2 \usepackage[noxcolor]{pstricks}
3 \usepackage{pst-grad}
4 \pagestyle{empty}
5 \begin{document}
6 \begin{pspicture}(5,20)(15,15)
7 \psset{unit=1pt}
8 % componentHeight = 600.0
9 % pageWidth = 600.0
10 % pageHeight = 600.0
11 % pageHeight = 600.0
12 \newrgbcolor{current}{.20000 .20000 .20000}
13 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
14 \psset{linewidth=1.0}
15 % writeCap(int cap) called, not supported
16 % writeJoin(int join) called, not supported
17 % writeMiterLimit(float limit) called, not supported
18 \psset{linestyle=solid}
19 % writeBackground() called
20 % create() called
21 \newrgbcolor{current}{1.0000 1.0000 1.0000}
22 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
23 \pscustom[linestyle=none]{
24 \moveto(0.0000,600.00)
25 \lineto(600.00,600.00)
26 \lineto(600.00,0.0000)
27 \lineto(0.0000,0.0000)
28 \lineto(0.0000,600.00)
29 \closepath
30 }
31 \newrgbcolor{current}{0.0000 0.0000 0.0000}
32 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
33 \pscustom[fillstyle=none]{
34 \moveto(0.0000,400.00)
35 \lineto(180.00,400.00)
36 \lineto(180.00,220.00)
37 \lineto(0.0000,220.00)
38 \lineto(0.0000,400.00)
39 \closepath
40 }
41 % writePaint(TexturePaint p) called, not supported, crosshatch substituted
42 \psset{fillstyle=crosshatch}
43 \pscustom[linestyle=none]{
44 \moveto(0.0000,400.00)
45 \lineto(180.00,400.00)
46 \lineto(180.00,220.00)
47 \lineto(0.0000,220.00)
48 \lineto(0.0000,400.00)
49 \closepath
50 }
51 \newrgbcolor{current}{0.0000 0.0000 0.0000}
52 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
53 \pscustom[fillstyle=none]{
54 \moveto(200.00,400.00)
55 \lineto(380.00,400.00)
56 \lineto(380.00,220.00)
57 \lineto(200.00,220.00)
58 \lineto(200.00,400.00)
59 \closepath
60 }
61 % writePaint(TexturePaint p) called, not supported, crosshatch substituted
62 \psset{fillstyle=crosshatch}
63 \pscustom[linestyle=none]{
64 \moveto(200.00,400.00)
65 \lineto(380.00,400.00)
66 \lineto(380.00,220.00)
67 \lineto(200.00,220.00)
68 \lineto(200.00,400.00)
69 \closepath
70 }
71 \newrgbcolor{current}{0.0000 0.0000 0.0000}
72 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
73 \pscustom[fillstyle=none]{
74 \moveto(400.00,400.00)
75 \lineto(580.00,400.00)
76 \lineto(580.00,220.00)
77 \lineto(400.00,220.00)
78 \lineto(400.00,400.00)
79 \closepath
80 }
81 % writePaint(TexturePaint p) called, not supported, crosshatch substituted
82 \psset{fillstyle=crosshatch}
83 \pscustom[linestyle=none]{
84 \moveto(400.00,400.00)
85 \lineto(580.00,400.00)
86 \lineto(580.00,220.00)
87 \lineto(400.00,220.00)
88 \lineto(400.00,400.00)
89 \closepath
90 }
91 \newrgbcolor{gradbegin}{1.0000 0.0000 0.0000}
92 \newrgbcolor{gradend}{0.0000 0.0000 1.0000}
93 \psset{gradmidpoint=1,gradangle=45.0,fillstyle=gradient}
94 \pscustom[linestyle=none]{
95 \moveto(0.0000,200.00)
96 \lineto(180.00,200.00)
97 \lineto(180.00,20.000)
98 \lineto(0.0000,20.000)
99 \lineto(0.0000,200.00)
100 \closepath
101 }
102 \newrgbcolor{gradbegin}{0.0000 1.0000 0.0000}
103 \newrgbcolor{gradend}{1.0000 0.0000 1.0000}
104 \psset{gradmidpoint=1,gradangle=45.0,fillstyle=gradient}
105 \pscustom[linestyle=none]{
106 \moveto(200.00,200.00)
107 \lineto(380.00,200.00)
108 \lineto(380.00,20.000)
109 \lineto(200.00,20.000)
110 \lineto(200.00,200.00)
111 \closepath
112 }
113 \newrgbcolor{gradbegin}{1.0000 0.0000 0.0000}
114 \newrgbcolor{gradend}{1.0000 1.0000 0.0000}
115 \psset{gradmidpoint=1,gradangle=45.0,fillstyle=gradient}
116 \pscustom[linestyle=none]{
117 \moveto(400.00,200.00)
118 \lineto(580.00,200.00)
119 \lineto(580.00,20.000)
120 \lineto(400.00,20.000)
121 \lineto(400.00,200.00)
122 \closepath
123 }
124 % create() called
125 \newrgbcolor{gradbegin}{1.0000 0.0000 0.0000}
126 \newrgbcolor{gradend}{0.0000 0.0000 1.0000}
127 \psset{gradmidpoint=1,gradangle=45.0,fillstyle=gradient}
128 \pscustom[linestyle=none]{
129 \moveto(0.0000,600.00)
130 \lineto(120.00,540.00)
131 \lineto(180.00,420.00)
132 \lineto(60.000,480.00)
133 \lineto(0.0000,600.00)
134 \closepath
135 }
136 % writePaint(TexturePaint p) called, not supported, crosshatch substituted
137 \psset{fillstyle=crosshatch}
138 \pscustom[linestyle=none]{
139 \moveto(150.00,600.00)
140 \lineto(270.00,540.00)
141 \lineto(330.00,420.00)
142 \lineto(210.00,480.00)
143 \lineto(150.00,600.00)
144 \closepath
145 }
146 \psset{linewidth=1.0}
147 \psset{linestyle=solid}
148 \newrgbcolor{current}{.20000 .20000 .20000}
149 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
150 \psset{linewidth=1.0}
151 \psset{linestyle=solid}
152 \psset{linewidth=0.0}
153 \psset{linestyle=solid}
154 \end{pspicture}
155 \end{document}