IXRMatrix::SetM21 (Compact 2013)

3/28/2014

This method sets the multiplier value to apply to the points in the second row and first column of this matrix.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetM21(
    float M21
) = 0;

Parameters

  • M21
    [in] A float value that indicates the multiplier to apply 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 M21 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::GetM21