CanvasGeometryComputeFlatteningTolerance Method (Single, Single, Matrix3x2) |
Computes the correct flattening tolerance given the specified DPI, maximum zoom level, and geometry transform.
Namespace:
Microsoft.Graphics.Canvas.Geometry
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public static float ComputeFlatteningTolerance(
float dpi,
float maximumZoomFactor,
Matrix3x2 expectedGeometryTransform
)
Parameters
- dpi
- Type: SystemSingle
- maximumZoomFactor
- Type: SystemSingle
- expectedGeometryTransform
- Type: System.NumericsMatrix3x2
Return Value
Type:
SingleRemarks
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, independent of the geometry transform.
For more information, see
ComputeFlatteningTolerance.
See Also