Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DWRITE_MATRIX structure

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

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

Dwrite.h

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.