explorer:
[reactos.git] / reactos / w32api / include / 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 #if __GNUC__ >= 3
23 #pragma GCC system_header
24 #endif
25
26 class Pen : public GdiplusBase
27 {
28 friend class Graphics;
29
30 public:
31 Pen(const Brush *brush, REAL width = 1.0f)
32 {
33 }
34
35 Pen(const Color &color, REAL width = 1.0f)
36 {
37 Unit unit = UnitWorld;
38 pen = NULL;
39 status = DllExports::GdipCreatePen1(color.GetValue(),
40 width,
41 unit,
42 &pen);
43 }
44
45 Pen *Clone(VOID)
46 {
47 return NULL;
48 }
49
50 PenAlignment GetAlignment(VOID)
51 {
52 return PenAlignmentCenter;
53 }
54
55 Brush *GetBrush(VOID)
56 {
57 return NULL;
58 }
59
60 Status GetColor(Color *color)
61 {
62 return NotImplemented;
63 }
64
65 Status GetCompoundArray(REAL *compoundArray, INT count)
66 {
67 return NotImplemented;
68 }
69
70 INT GetCompoundArrayCount(VOID)
71 {
72 return 0;
73 }
74
75 Status GetCustomEndCap(CustomLineCap *customCap)
76 {
77 return NotImplemented;
78 }
79
80 Status GetCustomStartCap(CustomLineCap *customCap)
81 {
82 return NotImplemented;
83 }
84
85 DashCap GetDashCap(VOID)
86 {
87 return DashCapFlat;
88 }
89
90 REAL GetDashOffset(VOID)
91 {
92 return 0;
93 }
94
95 Status GetDashPattern(REAL *dashArray, INT count)
96 {
97 return NotImplemented;
98 }
99
100 INT GetDashPatternCount(VOID)
101 {
102 return 0;
103 }
104
105 DashStyle GetDashStyle(VOID)
106 {
107 return DashStyleSolid;
108 }
109
110 LineCap GetEndCap(VOID)
111 {
112 return LineCapFlat;
113 }
114
115 Status GetLastStatus(VOID)
116 {
117 return NotImplemented;
118 }
119
120 LineJoin GetLineJoin(VOID)
121 {
122 return LineJoinMiter;
123 }
124
125 REAL GetMiterLimit(VOID)
126 {
127 return 0;
128 }
129
130 PenType GetPenType(VOID)
131 {
132 return PenTypeSolidColor;
133 }
134
135 LineCap GetStartCap(VOID)
136 {
137 return LineCapFlat;
138 }
139
140 Status GetTransform(Matrix *matrix)
141 {
142 return NotImplemented;
143 }
144
145 REAL GetWidth(VOID)
146 {
147 return 0;
148 }
149
150 Status MultiplyTransform(Matrix *matrix, MatrixOrder order)
151 {
152 return NotImplemented;
153 }
154
155 Status ResetTransform(VOID)
156 {
157 return NotImplemented;
158 }
159
160 Status RotateTransform(REAL angle, MatrixOrder order)
161 {
162 return NotImplemented;
163 }
164
165 Status ScaleTransform(REAL sx, REAL sy, MatrixOrder order)
166 {
167 return NotImplemented;
168 }
169
170 Status SetAlignment(PenAlignment penAlignment)
171 {
172 return NotImplemented;
173 }
174
175 Status SetBrush(const Brush *brush)
176 {
177 return NotImplemented;
178 }
179
180 Status SetColor(const Color &color)
181 {
182 return NotImplemented;
183 }
184
185 Status SetCompoundArray(const REAL *compoundArray, INT count)
186 {
187 return NotImplemented;
188 }
189
190 Status SetCustomEndCap(const CustomLineCap *customCap)
191 {
192 return NotImplemented;
193 }
194
195 Status SetCustomStartCap(const CustomLineCap *customCap)
196 {
197 return NotImplemented;
198 }
199
200 Status SetDashCap(DashCap dashCap)
201 {
202 return NotImplemented;
203 }
204
205 Status SetDashOffset(REAL dashOffset)
206 {
207 return NotImplemented;
208 }
209
210 Status SetDashPattern(const REAL *dashArray, INT count)
211 {
212 return NotImplemented;
213 }
214
215 Status SetDashStyle(DashStyle dashStyle)
216 {
217 return NotImplemented;
218 }
219
220 Status SetEndCap(LineCap endCap)
221 {
222 return NotImplemented;
223 }
224
225 Status SetLineCap(LineCap startCap, LineCap endCap, DashCap dashCap)
226 {
227 return NotImplemented;
228 }
229
230 Status SetLineJoin(LineJoin lineJoin)
231 {
232 return NotImplemented;
233 }
234
235 Status SetMiterLimit(REAL miterLimit)
236 {
237 return NotImplemented;
238 }
239
240 Status SetStartCap(LineCap startCap)
241 {
242 return NotImplemented;
243 }
244
245 Status SetTransform(const Matrix *matrix)
246 {
247 return NotImplemented;
248 }
249
250 Status SetWidth(REAL width)
251 {
252 return NotImplemented;
253 }
254
255 private:
256 Status status;
257 GpPen *pen;
258 };
259
260 #endif /* _GDIPLUSPEN_H */