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