XFORM

The XFORM structure specifies a world-space to page-space transformation.

typedef struct  _XFORM {  // xfrm 
    FLOAT eM11; 
    FLOAT eM12; 
    FLOAT eM21; 
    FLOAT eM22; 
    FLOAT eDx; 
    FLOAT eDy; 
} XFORM; 
 

Members

eM11
Specifies the following:
Operation Meaning
Scaling Horizontal scaling component
Rotation Cosine of rotation angle
Reflection Horizontal component

eM12
Specifies the following:
Operation Meaning
Shear Horizontal proportionality constant
Rotation Sine of the rotation angle

eM21
Specifies the following:
Operation Meaning
Shear Vertical proportionality constant
Rotation Negative sine of the rotation angle

eM22
Specifies the following:
Operation Meaning
Scaling Vertical scaling component
Rotation Cosine of rotation angle
Reflection Vertical reflection component

eDx
Specifies the horizontal translation component.
eDy
Specifies the vertical translation component.

Remarks

The following list describes how the members are used for each operation:

Operation eM11 eM12 eM21 eM22
Rotation Cosine Sine Negative sine Cosine
Scaling Horizontal scaling component Nothing Nothing Vertical Scaling Component
Shear Nothing Horizontal Proportionality Constant Vertical Proportionality Constant Nothing
Reflection Horizontal Reflection Component Nothing Nothing Vertical Reflection Component

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.

See Also

Coordinate Spaces and Transformations Overview, Coordinate Space and Transformation Structures, ExtCreateRegion, GetWorldTransform, ModifyWorldTransform, PlayEnhMetaFile, SetWorldTransform