Share via


IXRMatrix::GetM21 (Compact 2013)

3/28/2014

This method retrieves the multiplier value that is applied to the points in the second row and first column of this matrix.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetM21(
    float* pM21
) = 0;

Parameters

  • pM21
    [out] Pointer to a float value that indicates the multiplier that is applied to the points in the 2,1 quadrant of this matrix.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The default multiplier value is 0.

If pM21 is less than 0, the UI object that uses this matrix is skewed to the left.

You can perform math with this value and the M12 value to rotate the UI object that uses this matrix.

.NET Framework Equivalent

System.Windows.Media.Matrix.M21

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRMatrix
IXRMatrix::SetM21