[RXCE]
[reactos.git] / reactos / sdk / include / psdk / gdipluspen.h
1 /*
2 * GdiPlusPen.h
3 *
4 * Windows GDI+
5 *
6 * This file is part of the w32api package.
7 *
8 * THIS SOFTWARE IS NOT COPYRIGHTED
9 *
10 * This source code is offered for use in the public domain. You may
11 * use, modify or distribute it freely.
12 *
13 * This code is distributed in the hope that it will be useful but
14 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
15 * DISCLAIMED. This includes but is not limited to warranties of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 */
18
19 #ifndef _GDIPLUSPEN_H
20 #define _GDIPLUSPEN_H
21
22 class CustomLineCap;
23
24 class Pen : public GdiplusBase
25 {
26 friend class Graphics;
27
28 public:
29 Pen(const Brush *brush, REAL width = 1.0f)
30 {
31 }
32
33 Pen(const Color &color, REAL width = 1.0f)
34 {
35 Unit unit = UnitWorld;
36 pen = NULL;
37 status = DllExports::GdipCreatePen1(color.GetValue(),
38 width,
39 unit,
40 &pen);
41 }
42
43 Pen *Clone(VOID)
44 {
45 return NULL;
46 }
47
48 PenAlignment GetAlignment(VOID)
49 {
50 return PenAlignmentCenter;
51 }
52
53 Brush *GetBrush(VOID)
54 {
55 return NULL;
56 }
57
58 Status GetColor(Color *color)
59 {
60 return NotImplemented;
61 }
62
63 Status GetCompoundArray(REAL *compoundArray, INT count)
64 {
65 return NotImplemented;
66 }
67
68 INT GetCompoundArrayCount(VOID)
69 {
70 return 0;
71 }
72
73 Status GetCustomEndCap(CustomLineCap *customCap)
74 {
75 return NotImplemented;
76 }
77
78 Status GetCustomStartCap(CustomLineCap *customCap)
79 {
80 return NotImplemented;
81 }
82
83 DashCap GetDashCap(VOID)
84 {
85 return DashCapFlat;
86 }
87
88 REAL GetDashOffset(VOID)
89 {
90 return 0;
91 }
92
93 Status GetDashPattern(REAL *dashArray, INT count)
94 {
95 return NotImplemented;
96 }
97
98 INT GetDashPatternCount(VOID)
99 {
100 return 0;
101 }
102
103 DashStyle GetDashStyle(VOID)
104 {
105 return DashStyleSolid;
106 }
107
108 LineCap GetEndCap(VOID)
109 {
110 return LineCapFlat;
111 }
112
113 Status GetLastStatus(VOID)
114 {
115 return NotImplemented;
116 }
117
118 LineJoin GetLineJoin(VOID)
119 {
120 return LineJoinMiter;
121 }
122
123 REAL GetMiterLimit(VOID)
124 {
125 return 0;
126 }
127
128 PenType GetPenType(VOID)
129 {
130 return PenTypeSolidColor;
131 }
132
133 LineCap GetStartCap(VOID)
134 {
135 return LineCapFlat;
136 }
137
138 Status GetTransform(Matrix *matrix)
139 {
140 return NotImplemented;
141 }
142
143 REAL GetWidth(VOID)
144 {
145 return 0;
146 }
147
148 Status MultiplyTransform(Matrix *matrix, MatrixOrder order)
149 {
150 return NotImplemented;
151 }
152
153 Status ResetTransform(VOID)
154 {
155 return NotImplemented;
156 }
157
158 Status RotateTransform(REAL angle, MatrixOrder order)
159 {
160 return NotImplemented;
161 }
162
163 Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order)
164 {
165 return NotImplemented;
166 }
167
168 Status SetAlignment(PenAlignment penAlignment)
169 {
170 return NotImplemented;
171 }
172
173 Status SetBrush(const Brush *brush)
174 {
175 return NotImplemented;
176 }
177
178 Status SetColor(const Color &color)
179 {
180 return NotImplemented;
181 }
182
183 Status SetCompoundArray(const REAL *compoundArray, INT count)
184 {
185 return NotImplemented;
186 }
187
188 Status SetCustomEndCap(const CustomLineCap *customCap)
189 {
190 return NotImplemented;
191 }
192
193 Status SetCustomStartCap(const CustomLineCap *customCap)
194 {
195 return NotImplemented;
196 }
197
198 Status SetDashCap(DashCap dashCap)
199 {
200 return NotImplemented;
201 }
202
203 Status SetDashOffset(REAL dashOffset)
204 {
205 return NotImplemented;
206 }
207
208 Status SetDashPattern(const REAL *dashArray, INT count)
209 {
210 return NotImplemented;
211 }
212
213 Status SetDashStyle(DashStyle dashStyle)
214 {
215 return NotImplemented;
216 }
217
218 Status SetEndCap(LineCap endCap)
219 {
220 return NotImplemented;
221 }
222
223 Status SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
224 {
225 return NotImplemented;
226 }
227
228 Status SetLineJoin(LineJoin lineJoin)
229 {
230 return NotImplemented;
231 }
232
233 Status SetMiterLimit(REAL miterLimit)
234 {
235 return NotImplemented;
236 }
237
238 Status SetStartCap(LineCap startCap)
239 {
240 return NotImplemented;
241 }
242
243 Status SetTransform(const Matrix *matrix)
244 {
245 return NotImplemented;
246 }
247
248 Status SetWidth(REAL width)
249 {
250 return NotImplemented;
251 }
252
253 private:
254 Status status;
255 GpPen *pen;
256 };
257
258 #endif /* _GDIPLUSPEN_H */