CombineTransform

The CombineTransform function concatenates two world-space to page-space transformations.

BOOL CombineTransform(

LPXFORM lpxformResult, // pointer to combined transformation
CONST XFORM *lpxform1, // pointer to first transformation
CONST XFORM *lpxform2 // pointer to second transformation
);  

Parameters

lpxformResult

Points to an XFORM structure that receives the combined transformation.

lpxform1

Points to an XFORM structure that identifies the first transformation.

lpxform2

Points to an XFORM structure that identifies the second transformation.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Remarks

Applying the combined transformation has the same effect as applying the first transformation and then applying the second transformation.

The three transformations need not be distinct. For example, lpxform1 can point to the same XFORM structure as lpxformResult.

See Also

GetWorldTransform, ModifyWorldTransform, SetWorldTransform, XFORM