MAT2 structure (wingdi.h)

The MAT2 structure contains the values for a transformation matrix used by the GetGlyphOutline function.

Syntax

typedef struct _MAT2 {
  FIXED eM11;
  FIXED eM12;
  FIXED eM21;
  FIXED eM22;
} MAT2, *LPMAT2;

Members

eM11

A fixed-point value for the M11 component of a 3 by 3 transformation matrix.

eM12

A fixed-point value for the M12 component of a 3 by 3 transformation matrix.

eM21

A fixed-point value for the M21 component of a 3 by 3 transformation matrix.

eM22

A fixed-point value for the M22 component of a 3 by 3 transformation matrix.

Remarks

The identity matrix produces a transformation in which the transformed graphical object is identical to the source object. In the identity matrix, the value of eM11 is 1, the value of eM12 is zero, the value of eM21 is zero, and the value of eM22 is 1.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

Font and Text Structures

Fonts and Text Overview

GetGlyphOutline