Computes the appropriate flattening tolerance to pass to APIs that take a flattening tolerance (for instance, DeviceContext.CreateFilledGeometryRealization).
'Declaration
Public Shared Function ComputeFlatteningTolerance( _
ByRef As Matrix3x2, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
) As System.Single
public static System.float ComputeFlatteningTolerance(
ref Matrix3x2 ,
System.float ,
System.float ,
System.float
)
Parameters
- matrix
- The matrix that will be applied subsequently to the geometry being flattened.
- dpiX
- The horizontal DPI of the render target that the geometry will be rendered onto (a choice of 96 implies no DPI correction).
- dpiY
- The vertical DPI of the render target that the geometry will be rendered onto (a choice of 96 implies no DPI correction).
- maxZoomFactor
- The maximum amount of additional scaling (on top of any scaling implied by the matrix or the DPI) that will be applied to the geometry.
Return Value
The flattening tolerance.