Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Computes the maximum factor by which a given transform can stretch any vector.
Syntax
FLOAT D2D1ComputeMaximumScaleFactor(
[in] const D2D1_MATRIX_3X2_F *matrix
);
Parameters
[in] matrix
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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8.1 [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2012 R2 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | d2d1_2.h (include D2d1_1.h) |
| Library | D2d1.lib |
| DLL | D2d1.dll |