typedef struct tagXFORM /* xfrm */
{ FLOAT eM11;
FLOAT eM12;
FLOAT eM21;
FLOAT eM22;
FLOAT eDx;
FLOAT eDy;
} XFORM, *PXFORM, FAR *LPXFORM;
The XFORM structure specifies a world-space to page-space transformation.
The XFORM structure has the following 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
The following table describes how the members are used for each operation:
| Operation | eM11 | eM12 | eM21 | eM22 |
| rotation | cosine | sine | negative sine | cosine |
| scaling | horizontal component | nothing | nothing | vertical scaling component |
| shear | nothing | horizontal proportionality constant | vertical proportionality constant | nothing |
| reflection | horizontal component | nothing | nothing | vertical component |
ExtCreateRegion, GetWorldTransform, ModifyWorldTransform, PlayEnhMetaFile, SetWorldTransform