听说SetWorldTransform这个函数可以做到,就是不知道怎样用?那位朋友可帮做个例子。谢谢!!
The SetWorldTransform function 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(
HDC hdc, // handle of device context
CONST XFORM *lpXform // address of transformation data
);
Parameters
hdc
Identifies the device context.
lpXform
Points to an XFORM structure that contains the transformation data.