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.
23 #pragma GCC system_header
26 class Pen
: public GdiplusBase
28 friend class Graphics
;
31 Pen(const Brush
*brush
, REAL width
= 1.0f
)
35 Pen(const Color
&color
, REAL width
= 1.0f
)
37 Unit unit
= UnitWorld
;
39 status
= DllExports::GdipCreatePen1(color
.GetValue(),
50 PenAlignment
GetAlignment(VOID
)
52 return PenAlignmentCenter
;
60 Status
GetColor(Color
*color
)
62 return NotImplemented
;
65 Status
GetCompoundArray(REAL
*compoundArray
, INT count
)
67 return NotImplemented
;
70 INT
GetCompoundArrayCount(VOID
)
75 Status
GetCustomEndCap(CustomLineCap
*customCap
)
77 return NotImplemented
;
80 Status
GetCustomStartCap(CustomLineCap
*customCap
)
82 return NotImplemented
;
85 DashCap
GetDashCap(VOID
)
90 REAL
GetDashOffset(VOID
)
95 Status
GetDashPattern(REAL
*dashArray
, INT count
)
97 return NotImplemented
;
100 INT
GetDashPatternCount(VOID
)
105 DashStyle
GetDashStyle(VOID
)
107 return DashStyleSolid
;
110 LineCap
GetEndCap(VOID
)
115 Status
GetLastStatus(VOID
)
117 return NotImplemented
;
120 LineJoin
GetLineJoin(VOID
)
122 return LineJoinMiter
;
125 REAL
GetMiterLimit(VOID
)
130 PenType
GetPenType(VOID
)
132 return PenTypeSolidColor
;
135 LineCap
GetStartCap(VOID
)
140 Status
GetTransform(Matrix
*matrix
)
142 return NotImplemented
;
150 Status
MultiplyTransform(Matrix
*matrix
, MatrixOrder order
)
152 return NotImplemented
;
155 Status
ResetTransform(VOID
)
157 return NotImplemented
;
160 Status
RotateTransform(REAL angle
, MatrixOrder order
)
162 return NotImplemented
;
165 Status
ScaleTransform(REAL sx
, REAL sy
, MatrixOrder order
)
167 return NotImplemented
;
170 Status
SetAlignment(PenAlignment penAlignment
)
172 return NotImplemented
;
175 Status
SetBrush(const Brush
*brush
)
177 return NotImplemented
;
180 Status
SetColor(const Color
&color
)
182 return NotImplemented
;
185 Status
SetCompoundArray(const REAL
*compoundArray
, INT count
)
187 return NotImplemented
;
190 Status
SetCustomEndCap(const CustomLineCap
*customCap
)
192 return NotImplemented
;
195 Status
SetCustomStartCap(const CustomLineCap
*customCap
)
197 return NotImplemented
;
200 Status
SetDashCap(DashCap dashCap
)
202 return NotImplemented
;
205 Status
SetDashOffset(REAL dashOffset
)
207 return NotImplemented
;
210 Status
SetDashPattern(const REAL
*dashArray
, INT count
)
212 return NotImplemented
;
215 Status
SetDashStyle(DashStyle dashStyle
)
217 return NotImplemented
;
220 Status
SetEndCap(LineCap endCap
)
222 return NotImplemented
;
225 Status
SetLineCap(LineCap startCap
, LineCap endCap
, DashCap dashCap
)
227 return NotImplemented
;
230 Status
SetLineJoin(LineJoin lineJoin
)
232 return NotImplemented
;
235 Status
SetMiterLimit(REAL miterLimit
)
237 return NotImplemented
;
240 Status
SetStartCap(LineCap startCap
)
242 return NotImplemented
;
245 Status
SetTransform(const Matrix
*matrix
)
247 return NotImplemented
;
250 Status
SetWidth(REAL width
)
252 return NotImplemented
;
260 #endif /* _GDIPLUSPEN_H */