Debian Codegraph @

freehep-graphicsio-latex/src/test/resources/latex/TestGraphicsContexts.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 \psset{linewidth=5.0}
34 \pscustom[fillstyle=none]{
35 \moveto(200.00,575.00)
36 \lineto(350.00,575.00)
37 }
38 \pscustom[fillstyle=none]{
39 \moveto(420.00,575.00)
40 \curveto(420.00,563.95)(411.05,555.00)(400.00,555.00)
41 \curveto(388.95,555.00)(380.00,563.95)(380.00,575.00)
42 \curveto(380.00,586.05)(388.95,595.00)(400.00,595.00)
43 \curveto(411.05,595.00)(420.00,586.05)(420.00,575.00)
44 \closepath
45 }
46 % create() called
47 \psset{linewidth=10.0}
48 % writeCap(int cap) called, not supported
49 % writeJoin(int join) called, not supported
50 \psset{linestyle=dashed,dash=5.0000 4.0000}
51 \newrgbcolor{current}{0.0000 1.0000 0.0000}
52 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
53 \pscustom[fillstyle=none]{
54 \moveto(162.50,475.00)
55 \lineto(387.50,475.00)
56 }
57 \pscustom[fillstyle=none]{
58 \moveto(441.29,489.14)
59 \lineto(485.21,489.14)
60 \lineto(485.21,459.86)
61 \lineto(441.29,459.86)
62 \closepath
63 }
64 % create() called
65 \psset{linewidth=2.0}
66 % writeCap(int cap) called, not supported
67 % writeJoin(int join) called, not supported
68 \psset{linestyle=solid}
69 \newrgbcolor{current}{0.0000 0.0000 1.0000}
70 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
71 \pscustom[fillstyle=none]{
72 \moveto(162.50,375.00)
73 \lineto(387.50,375.00)
74 }
75 \pscustom[linestyle=none]{
76 \moveto(462.50,398.09)
77 \lineto(432.50,363.45)
78 \lineto(492.50,363.45)
79 \closepath
80 }
81 \newrgbcolor{current}{0.0000 1.0000 0.0000}
82 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
83 \psset{linewidth=10.0}
84 \psset{linestyle=dashed,dash=5.0000 4.0000}
85 \pscustom[fillstyle=none]{
86 \moveto(162.50,275.00)
87 \lineto(387.50,275.00)
88 }
89 \pscustom[fillstyle=none]{
90 \moveto(441.29,289.14)
91 \lineto(485.21,289.14)
92 \lineto(485.21,259.86)
93 \lineto(441.29,259.86)
94 \closepath
95 }
96 \newrgbcolor{current}{0.0000 0.0000 0.0000}
97 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
98 \psset{linewidth=5.0}
99 \psset{linestyle=solid}
100 \pscustom[fillstyle=none]{
101 \moveto(200.00,175.00)
102 \lineto(350.00,175.00)
103 }
104 \pscustom[fillstyle=none]{
105 \moveto(420.00,175.00)
106 \curveto(420.00,163.95)(411.05,155.00)(400.00,155.00)
107 \curveto(388.95,155.00)(380.00,163.95)(380.00,175.00)
108 \curveto(380.00,186.05)(388.95,195.00)(400.00,195.00)
109 \curveto(411.05,195.00)(420.00,186.05)(420.00,175.00)
110 \closepath
111 }
112 \newrgbcolor{current}{.20000 .20000 .20000}
113 \psset{linecolor=current,fillcolor=current,fillstyle=solid}
114 \psset{linewidth=1.0}
115 \psset{linestyle=solid}
116 \psset{linewidth=0.0}
117 \psset{linestyle=solid}
118 \end{pspicture}
119 \end{document}