Bitmap for UWP
ComputeFlatteningTolerance メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.Direct2D 名前空間 > D2D1 クラス : ComputeFlatteningTolerance メソッド
The matrix that will be applied subsequently to the geometry being flattened.
The horizontal DPI of the render target that the geometry will be rendered onto (a choice of 96 implies no DPI correction).
The vertical DPI of the render target that the geometry will be rendered onto (a choice of 96 implies no DPI correction).
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.
Computes the appropriate flattening tolerance to pass to APIs that take a flattening tolerance (for instance, DeviceContext.CreateFilledGeometryRealization).
シンタックス
'宣言
 
Public Shared Function ComputeFlatteningTolerance( _
   ByRef matrix As Matrix3x2, _
   Optional ByVal dpiX As System.Single, _
   Optional ByVal dpiY As System.Single, _
   Optional ByVal maxZoomFactor As System.Single _
) As System.Single
public static System.float ComputeFlatteningTolerance( 
   ref Matrix3x2 matrix,
   System.float dpiX,
   System.float dpiY,
   System.float maxZoomFactor
)

パラメータ

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.

戻り値の型

The flattening tolerance.
参照

D2D1 クラス
D2D1 メンバ