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.
19 #ifndef _GDIPLUSLINECAPS_H
20 #define _GDIPLUSLINECAPS_H
23 CustomLineCap::CustomLineCap(const GraphicsPath
*fillPath
,
24 const GraphicsPath
*strokePath
, LineCap baseCap
, REAL baseInset
)
28 inline CustomLineCap
*
29 CustomLineCap::Clone(VOID
)
35 CustomLineCap::GetBaseCap(VOID
)
41 CustomLineCap::GetBaseInset(VOID
)
47 CustomLineCap::GetLastStatus(VOID
)
53 CustomLineCap::GetStrokeCaps(LineCap
*startCap
, LineCap
*endCap
)
59 CustomLineCap::GetStrokeJoin(VOID
)
65 CustomLineCap::GetWidthScale(VOID
)
71 CustomLineCap::SetBaseCap(LineCap baseCap
)
77 CustomLineCap::SetBaseInset(REAL inset
)
83 CustomLineCap::SetStrokeCap(LineCap strokeCap
)
89 CustomLineCap::SetStrokeCaps(LineCap startCap
, LineCap endCap
)
95 CustomLineCap::SetStrokeJoin(LineJoin lineJoin
)
101 CustomLineCap::SetWidthScale(IN REAL widthScale
)
107 class AdjustableArrowCap
: public CustomLineCap
110 AdjustableArrowCap(REAL height
, REAL width
, BOOL isFilled
)
119 REAL
GetMiddleInset(VOID
)
134 Status
SetFillState(BOOL isFilled
)
139 Status
SetHeight(REAL height
)
144 Status
SetMiddleInset(REAL middleInset
)
149 Status
SetWidth(REAL width
)
155 #endif /* _GDIPLUSLINECAPS_H */