Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XFORM structure

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

Syntax


typedef struct _XFORM {
  FLOAT eM11;
  FLOAT eM12;
  FLOAT eM21;
  FLOAT eM22;
  FLOAT eDx;
  FLOAT eDy;
} XFORM, *PXFORM;

Members

eM11

The following.

OperationMeaning
ScalingHorizontal scaling component
RotationCosine of rotation angle
ReflectionHorizontal component

 

eM12

The following.

OperationMeaning
ShearHorizontal proportionality constant
RotationSine of the rotation angle

 

eM21

The following.

OperationMeaning
ShearVertical proportionality constant
RotationNegative sine of the rotation angle

 

eM22

The following.

OperationMeaning
ScalingVertical scaling component
RotationCosine of rotation angle
ReflectionVertical reflection component

 

eDx

The horizontal translation component, in logical units.

eDy

The vertical translation component, in logical units.

Remarks

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

OperationeM11eM12eM21eM22
RotationCosineSineNegative sineCosine
ScalingHorizontal scaling componentNot usedNot usedVertical Scaling Component
ShearNot usedHorizontal Proportionality ConstantVertical Proportionality ConstantNot used
ReflectionHorizontal Reflection ComponentNot usedNot usedVertical Reflection Component

 

Requirements

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

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

 

 

Community Additions

Show:
© 2014 Microsoft