Description
Applies a transformation to this path and
converts each curve in the path to a sequence of connected lines.
Syntax
GpStatus WINGDIPAPI GdipFlattenPath(
GpPath *path,
GpMatrix* matrix,
REAL flatness
);
PowerBASIC Syntax
DECLARE FUNCTION GdipFlattenPath ( _
BYVAL path AS
DWORD, _
BYVAL matrix AS
DWORD, _
BYVAL flatness
AS SINGLE _
) AS LONG
Parameters
path
[in] Pointer to a GraphicsPath
object.
matrix
[in] Pointer to a Matrix
object that specifies the transformation to be applied to the path's
data points. The default value is NULL, which specifies that no
transformation is to be applied.
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.
|