Partilhar via


CDC::ModifyWorldTransform

Changes the world transformation for a device context using the specified mode.

BOOL ModifyWorldTransform(
   const XFORM& rXform,
   DWORD iMode
);

Parameters

  • rXform
    Reference to an XFORM structure used to modify the world transformation for the given device context.

  • iMode
    Specifies how the transformation data modifies the current world transformation. For a list of the values that this parameter can take, see ModifyWorldTransform.

Return Value

Returns a nonzero value on success.

Returns 0 on failure.

To get extended error information, call GetLastError.

Remarks

This method wraps the Windows GDI function ModifyWorldTransform.

Requirements

Header: afxwin.h

See Also

Reference

CDC Class

Hierarchy Chart

Other Resources

CDC Members