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.

CombineTransform function

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

Syntax


BOOL CombineTransform(
  _Out_  LPXFORM lpxformResult,
  _In_   const XFORM *lpxform1,
  _In_   const XFORM *lpxform2
);

Parameters

lpxformResult [out]

A pointer to an XFORM structure that receives the combined transformation.

lpxform1 [in]

A pointer to an XFORM structure that specifies the first transformation.

lpxform2 [in]

A pointer to an XFORM structure that specifies the second transformation.

Return value

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.

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)

Library

Gdi32.lib

DLL

Gdi32.dll

See also

Coordinate Spaces and Transformations Overview
Coordinate Space and Transformation Functions
GetWorldTransform
ModifyWorldTransform
SetWorldTransform
XFORM

 

 

Community Additions

Show:
© 2014 Microsoft