Partager via


XPS_MATRIX structure

Describes the left two columns of a 3-by-3 matrix.

Syntax

typedef struct {
  FLOAT m11;
  FLOAT m12;
  FLOAT m21;
  FLOAT m22;
  FLOAT m31;
  FLOAT m32;
} XPS_MATRIX;

Members

  • m11
    The value in the left column of the first row of the matrix.

  • m12
    The value in the center column of the first row of the matrix.

  • m21
    The value in the left column of the second row of the matrix.

  • m22
    The value in the center column of the second row of the matrix.

  • m31
    The value in the left column of the third row of the matrix. This value is also the x-offset.

  • m32
    The value in the center column of the third row of the matrix. This value is also the y-offset.

Remarks

The values in the third column of the matrix are assumed to be 0, 0, 1.

The following table shows the entire matrix.

m11 m12 0
m21 m22 0
m31 m32 1

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification