I have an visaul object up and running GetwindowoffsetEx moved the canvas around
But I cannot change the size of the canvas to my needs
Like should I not beable to change the canvas size for a A4-A3 print开发者_开发技巧er or to a picture size can this be done using the windows API I do not seem to get the instructions to do this.
I take it that if I want a Zoom, I strech draw from another cavuas
am I asking the obvious in all this.
Lex Dean
I'm struggling to understand exactly what I need but you seem to want to map between two coordinate spaces in GDI.
Whilst you can use the fully general SetWorldTransform()
, I suspect you are better off with the following functions:
SetWindowOrgEx()
,SetWindowExtEx()
SetViewportOrgEx()
,SetViewportExtEx()
The MSDN documentation also includes a full list of functions related to coordinate space transformations.
精彩评论