CustomLineCap::GetWidthScale method (gdiplusheaders.h)

The CustomLineCap::GetWidthScale method gets the value of the scale width. This is the amount to scale the custom line cap relative to the width of the Pen object used to draw a line. The default value of 1.0 does not scale the line cap.

Syntax

REAL GetWidthScale();

Return value

Type: REAL

This method returns the value of the width-scaling factor. It is of type REAL.

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

See also

CustomLineCap

GraphicsPath

LineCap

Status