6 * This file is part of the w32api package.
8 * THIS SOFTWARE IS NOT COPYRIGHTED
10 * This source code is offered for use in the public domain. You may
11 * use, modify or distribute it freely.
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.
24 class Pen
: public GdiplusBase
26 friend class Graphics
;
29 Pen(const Brush
*brush
, REAL width
= 1.0f
)
33 Pen(const Color
&color
, REAL width
= 1.0f
)
35 Unit unit
= UnitWorld
;
37 status
= DllExports::GdipCreatePen1(color
.GetValue(),
48 PenAlignment
GetAlignment(VOID
)
50 return PenAlignmentCenter
;
58 Status
GetColor(Color
*color
)
60 return NotImplemented
;
63 Status
GetCompoundArray(REAL
*compoundArray
, INT count
)
65 return NotImplemented
;
68 INT
GetCompoundArrayCount(VOID
)
73 Status
GetCustomEndCap(CustomLineCap
*customCap
)
75 return NotImplemented
;
78 Status
GetCustomStartCap(CustomLineCap
*customCap
)
80 return NotImplemented
;
83 DashCap
GetDashCap(VOID
)
88 REAL
GetDashOffset(VOID
)
93 Status
GetDashPattern(REAL
*dashArray
, INT count
)
95 return NotImplemented
;
98 INT
GetDashPatternCount(VOID
)
103 DashStyle
GetDashStyle(VOID
)
105 return DashStyleSolid
;
108 LineCap
GetEndCap(VOID
)
113 Status
GetLastStatus(VOID
)
115 return NotImplemented
;
118 LineJoin
GetLineJoin(VOID
)
120 return LineJoinMiter
;
123 REAL
GetMiterLimit(VOID
)
128 PenType
GetPenType(VOID
)
130 return PenTypeSolidColor
;
133 LineCap
GetStartCap(VOID
)
138 Status
GetTransform(Matrix
*matrix
)
140 return NotImplemented
;
148 Status
MultiplyTransform(Matrix
*matrix
, MatrixOrder order
)
150 return NotImplemented
;
153 Status
ResetTransform(VOID
)
155 return NotImplemented
;
158 Status
RotateTransform(REAL angle
, MatrixOrder order
)
160 return NotImplemented
;
163 Status
ScaleTransform(REAL sx
, REAL sy
, MatrixOrder order
)
165 return NotImplemented
;
168 Status
SetAlignment(PenAlignment penAlignment
)
170 return NotImplemented
;
173 Status
SetBrush(const Brush
*brush
)
175 return NotImplemented
;
178 Status
SetColor(const Color
&color
)
180 return NotImplemented
;
183 Status
SetCompoundArray(const REAL
*compoundArray
, INT count
)
185 return NotImplemented
;
188 Status
SetCustomEndCap(const CustomLineCap
*customCap
)
190 return NotImplemented
;
193 Status
SetCustomStartCap(const CustomLineCap
*customCap
)
195 return NotImplemented
;
198 Status
SetDashCap(DashCap dashCap
)
200 return NotImplemented
;
203 Status
SetDashOffset(REAL dashOffset
)
205 return NotImplemented
;
208 Status
SetDashPattern(const REAL
*dashArray
, INT count
)
210 return NotImplemented
;
213 Status
SetDashStyle(DashStyle dashStyle
)
215 return NotImplemented
;
218 Status
SetEndCap(LineCap endCap
)
220 return NotImplemented
;
223 Status
SetLineCap(LineCap startCap
, LineCap endCap
, DashCap dashCap
)
225 return NotImplemented
;
228 Status
SetLineJoin(LineJoin lineJoin
)
230 return NotImplemented
;
233 Status
SetMiterLimit(REAL miterLimit
)
235 return NotImplemented
;
238 Status
SetStartCap(LineCap startCap
)
240 return NotImplemented
;
243 Status
SetTransform(const Matrix
*matrix
)
245 return NotImplemented
;
248 Status
SetWidth(REAL width
)
250 return NotImplemented
;
258 #endif /* _GDIPLUSPEN_H */