GdipWidenPath

 

 

Description

Replaces this path with curves that enclose the area that is filled when this path is drawn by a specified pen. The Widen method also flattens the path.

Syntax

GpStatus WINGDIPAPI GdipWidenPath(

    GpPath *nativePath,

    GpPen *pen,

    GpMatrix *matrix,

    REAL flatness

);

PowerBASIC Syntax

DECLARE FUNCTION GdipWidenPath ( _

    BYVAL nativePath AS LONG, _

    BYVAL pen AS DWORD, _

    BYVAL matrix AS DWORD, _

    BYVAL flatness AS SINGLE _

) AS LONG

Parameters

 

nativePath

[in] Pointer to a GraphicsPath object.

pen

[in] Pointer to a Pen object. The path is made as wide as it would be when drawn by this pen.

matrix

[in] Pointer to a Matrix object that specifies a transformation to be applied along with the widening. If this parameter is NULL, no transformation is applied. The default value is NULL.

flatness

[in] Simple precision value that specifies the maximum error between the path and its flattened approximation. Reducing the flatness increases the number of line segments in the approximation. The default value is FlatnessDefault.

 

Valid HTML 4.01 Transitional