DWRITE_MATRIX structure (dwrite.h)

The DWRITE_MATRIX structure specifies the graphics transform to be applied to rendered glyphs.

Syntax

struct DWRITE_MATRIX {
  FLOAT m11;
  FLOAT m12;
  FLOAT m21;
  FLOAT m22;
  FLOAT dx;
  FLOAT dy;
};

Members

m11

Type: FLOAT

A value indicating the horizontal scaling / cosine of rotation.

m12

Type: FLOAT

A value indicating the vertical shear / sine of rotation.

m21

Type: FLOAT

A value indicating the horizontal shear / negative sine of rotation.

m22

Type: FLOAT

A value indicating the vertical scaling / cosine of rotation.

dx

Type: FLOAT

A value indicating the horizontal shift (always orthogonal regardless of rotation).

dy

Type: FLOAT

A value indicating the vertical shift (always orthogonal regardless of rotation.)

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps]
Header dwrite.h