|
-
October 28th, 2010, 11:20 PM
#4
Re: GDI+ Coordinates
For instance I can take a Graphics object with a resolution of 640x480 and I can:
graphics.Transform = new Matrix(1, 0, 0, 1, Width / 2, Height / 2);
and from now on the Graphics' origin is in the center. I was hoping there was a way to also scale the coordinates using something similar to get [-1, 1] without having to call a separate function.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|