Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CDC::SetWorldTransform
Collapse the table of content
Expand the table of content

CDC::SetWorldTransform

Sets a two-dimensional linear transformation between world space and page space for the specified device context. This transformation can be used to scale, rotate, shear, or translate graphics output.

BOOL SetWorldTransform(
   const XFORM& rXform
);

rXform

Reference to an XFORM structure that contains the transformation data.

Returns a nonzero value on success.

Returns 0 on failure.

To get extended error information, call GetLastError.

This method wraps the Windows GDI function SetWorldTransform.

Header: afxwin.h

Show:
© 2015 Microsoft