Hi All coders

copy from win32api.hlp :

"Many CAD applications provide features that rotate objects drawn in the client area. If your application features rotation capabilities, use the SetWorldTransform function to set the appropriate world-space to page-space transformation. This function receives a pointer to an XFORM structure containing the appropriate values. The eM11, eM12, eM21, and eM22 members of XFORM specify, respectively, the cosine, sine, negative sine, and cosine of the angle of rotation. "

how found about SetWorldTransform example asm src or any article ?

Best Regards,

Posted on 2002-01-22 20:23:20 by CYDONIA
Hi Cydonia,
here you can find an MSDN example:


and please remember that Win95/98 does not implement this API call: only WinNT and superior.


The example is in C but it's very simple: I think you shouldn't have any problem in understanding it.
Posted on 2002-01-23 12:20:56 by dguzz
Thank you dguzz,

i use BitBlt and StretchBlt. but setworldtransform more development.

thanks, have nice day,

Posted on 2002-01-23 16:17:48 by CYDONIA