Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

D2D1ComputeMaximumScaleFactor function

Computes the maximum factor by which a given transform can stretch any vector.

Syntax


FLOAT D2D1ComputeMaximumScaleFactor(
  _In_ const D2D1_MATRIX_3X2_F *matrix
);

Parameters

matrix [in]

The input transform matrix.

Return value

The scale factor.

Remarks

Formally, if M is the input matrix, this method will return the maximum value of |V * M| / |V| for all vectors V, where |.| denotes length.

Note  Since this describes how M affects vectors (rather than points), the translation components (_31 and _32) of M are ignored.
 

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

 

 

Community Additions

Show:
© 2016 Microsoft