Table of Contents

TTMSFNCGraphicsContext.ConvertToPath Method

Converts a TTMSFNCGraphicsPath to a native path representation, applying the given flatness tolerance for curve approximation.

API unit family: TMSFNCGraphics Declaring type: TTMSFNCGraphicsContext

Syntax

function ConvertToPath(APath: TTMSFNCGraphicsPath; const Flatness: Single = 0.25): Pointer;

Parameters

Name Description
APath The high-level path to convert.
Flatness Curve approximation tolerance; smaller values produce smoother curves at the cost of more segments. Default is 0.25.

Returns

Pointer to the converted platform-native path object.