Click or drag to resize
CanvasGeometryDefaultFlatteningTolerance Property
A suitable flattening tolerance for most situations.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static float DefaultFlatteningTolerance { get; }

Property Value

Type: Single
Remarks

A flattening tolerance is a threshold at which a curved segment is transformed into roughly equivalent straight lines.

The higher the zoom factor applied to a curve, the lower the flattening tolerance should be in order to prevent perceivable artifacts. On the other hand, using very low flattening tolerances everywhere can lead to an unnecessary performance cost. CanvasGeometry.DefaultFlatteningTolerance provides a reasonable default for most purposes.

For more information, see ComputeFlatteningTolerance.

See Also