Share via


CanvasState.GetLengthScale(Matrix3x2) Method

Definition

Gets the scale factor for lengths based on the provided transformation matrix.

protected:
 static float GetLengthScale(System::Numerics::Matrix3x2 matrix);
protected static float GetLengthScale(System.Numerics.Matrix3x2 matrix);
static member GetLengthScale : System.Numerics.Matrix3x2 -> single
Protected Shared Function GetLengthScale (matrix As Matrix3x2) As Single

Parameters

matrix
Matrix3x2

The transformation matrix.

Returns

A scale factor for lengths.

Applies to