Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Paths🞂CBezierToleranceVariable

CBezierTolerance

Global pixel tolerance threshold for flattening cubic Bezier curves into line segments.

Declaration ​

pascal
var CBezierTolerance: TFloat = DefaultBezierTolerance;

Description ​

CBezierTolerance controls the flatness error tolerance (in pixels) applied when subdividing cubic Bezier curves (CurveTo) into line segments in TCustomPath.

It defaults to DefaultBezierTolerance (0.25). Lowering this value increases curve smoothness for high-resolution output or zoom levels, while increasing it improves flattening performance.