Click or drag to resize
CanvasGeometryComputeFlatteningTolerance Method (Single, Single)
Computes the correct flattening tolerance given the specified DPI, and maximum zoom level.

Namespace:  Microsoft.Graphics.Canvas.Geometry
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public static float ComputeFlatteningTolerance(
	float dpi,
	float maximumZoomFactor
)

Parameters

dpi
Type: SystemSingle
maximumZoomFactor
Type: SystemSingle

Return Value

Type: Single
Remarks
This computation guarantees that under any scaling up to the maximum zoom level, curves will have no loss of fidelity. Maximum zoom level is the highest scale factor that the app anticipates applying to the geometry. For more information, see ComputeFlatteningTolerance.
See Also