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.
22 class Pen
: public GdiplusBase
24 friend class Graphics
;
27 Pen(const Brush
*brush
, REAL width
= 1.0f
)
31 Pen(const Color
&color
, REAL width
= 1.0f
)
33 Unit unit
= UnitWorld
;
35 status
= DllExports::GdipCreatePen1(color
.GetValue(),
46 PenAlignment
GetAlignment(VOID
)
48 return PenAlignmentCenter
;
56 Status
GetColor(Color
*color
)
58 return NotImplemented
;
61 Status
GetCompoundArray(REAL
*compoundArray
, INT count
)
63 return NotImplemented
;
66 INT
GetCompoundArrayCount(VOID
)
71 Status
GetCustomEndCap(CustomLineCap
*customCap
)
73 return NotImplemented
;
76 Status
GetCustomStartCap(CustomLineCap
*customCap
)
78 return NotImplemented
;
81 DashCap
GetDashCap(VOID
)
86 REAL
GetDashOffset(VOID
)
91 Status
GetDashPattern(REAL
*dashArray
, INT count
)
93 return NotImplemented
;
96 INT
GetDashPatternCount(VOID
)
101 DashStyle
GetDashStyle(VOID
)
103 return DashStyleSolid
;
106 LineCap
GetEndCap(VOID
)
111 Status
GetLastStatus(VOID
)
113 return NotImplemented
;
116 LineJoin
GetLineJoin(VOID
)
118 return LineJoinMiter
;
121 REAL
GetMiterLimit(VOID
)
126 PenType
GetPenType(VOID
)
128 return PenTypeSolidColor
;
131 LineCap
GetStartCap(VOID
)
136 Status
GetTransform(Matrix
*matrix
)
138 return NotImplemented
;
146 Status
MultiplyTransform(Matrix
*matrix
, MatrixOrder order
)
148 return NotImplemented
;
151 Status
ResetTransform(VOID
)
153 return NotImplemented
;
156 Status
RotateTransform(REAL angle
, MatrixOrder order
)
158 return NotImplemented
;
161 Status
ScaleTransform(REAL sx
, REAL sy
, MatrixOrder order
)
163 return NotImplemented
;
166 Status
SetAlignment(PenAlignment penAlignment
)
168 return NotImplemented
;
171 Status
SetBrush(const Brush
*brush
)
173 return NotImplemented
;
176 Status
SetColor(const Color
&color
)
178 return NotImplemented
;
181 Status
SetCompoundArray(const REAL
*compoundArray
, INT count
)
183 return NotImplemented
;
186 Status
SetCustomEndCap(const CustomLineCap
*customCap
)
188 return NotImplemented
;
191 Status
SetCustomStartCap(const CustomLineCap
*customCap
)
193 return NotImplemented
;
196 Status
SetDashCap(DashCap dashCap
)
198 return NotImplemented
;
201 Status
SetDashOffset(REAL dashOffset
)
203 return NotImplemented
;
206 Status
SetDashPattern(const REAL
*dashArray
, INT count
)
208 return NotImplemented
;
211 Status
SetDashStyle(DashStyle dashStyle
)
213 return NotImplemented
;
216 Status
SetEndCap(LineCap endCap
)
218 return NotImplemented
;
221 Status
SetLineCap(LineCap startCap
, LineCap endCap
, DashCap dashCap
)
223 return NotImplemented
;
226 Status
SetLineJoin(LineJoin lineJoin
)
228 return NotImplemented
;
231 Status
SetMiterLimit(REAL miterLimit
)
233 return NotImplemented
;
236 Status
SetStartCap(LineCap startCap
)
238 return NotImplemented
;
241 Status
SetTransform(const Matrix
*matrix
)
243 return NotImplemented
;
246 Status
SetWidth(REAL width
)
248 return NotImplemented
;
256 #endif /* _GDIPLUSPEN_H */