CustomLineCap::GetStrokeCaps method (gdiplusheaders.h)
The CustomLineCap::GetStrokeCaps method gets the end cap styles for both the start line cap and the end line cap. Line caps are LineCap objects that end the individual lines within a path.
Syntax
Status GetStrokeCaps(
[out] LineCap *startCap,
[out] LineCap *endCap
);
Parameters
[out] startCap
Type: LineCap*
Pointer to a variable that receives an element of the LineCap enumeration that indicates the line cap used at the start of the line to be drawn.
[out] endCap
Type: LineCap*
Pointer to a variable that receives an element of the LineCap enumeration that indicates the line cap used at the end of the line to be drawn.
Return value
Type: Status
If the method succeeds, it returns Ok, which is an element of the Status enumeration.
If the method fails, it returns one of the other elements of the Status enumeration.
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 |