Reputation: 151
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 printer 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
Upvotes: 0
Views: 53
Reputation: 612964
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:
The MSDN documentation also includes a full list of functions related to coordinate space transformations.
Upvotes: 1