CustomLineCap::CustomLineCap(constGraphicsPath*,constGraphicsPath*,LineCap,REAL) method (gdiplusheaders.h)
Creates a CustomLineCap::CustomLineCap object.
Syntax
void CustomLineCap(
[in] const GraphicsPath *fillPath,
[in] const GraphicsPath *strokePath,
[in] LineCap baseCap,
[in] REAL baseInset
);
Parameters
[in] fillPath
Type: const GraphicsPath*
Pointer to a path.
[in] strokePath
Type: const GraphicsPath*
Pointer to a path.
[in] baseCap
Type: LineCap
Optional. Element of the LineCap enumeration that specifies the line cap that will be used. The default value is LineCapFlat.
[in] baseInset
Type: REAL
Optional. The default value is 0.
Return value
None
Remarks
The fillPath and strokePath parameters cannot be used at the same time. You should pass NULL to one of those two parameters. If you pass nonnull values to both parameters, then fillPath is ignored.
The CustomLineCap::CustomLineCap class uses the winding fill mode regardless of the fill mode that is set for the GraphicsPath object passed to the CustomLineCap::CustomLineCap constructor.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | gdiplusheaders.h (include Gdiplus.h) |
Library | Gdiplus.lib |
DLL | Gdiplus.dll |