L
Lloyd Dupont
I'm porting an aplpication to windows.
This application's data files contains shape draw to the screen.
Their coordinate system has the 0,0 location at the bottom and y goes up as
you go up the screen (the opposite on what happens on windows control)
if I setup a coordinate transformation my strings, when drawn, are upside
down.
Is there any simple way to draw them correctly?
so far I though of 2 method:
1. create a new graphic container just before drawing string and changing
coordinate system
(but because the shape drawing string could be intermixed with other shape,
it's a shamble!)
2. manually transform all the coordinate of my shaped with a matrix before
using them, I'm afarid it would be inneficient...
Any thoughts?
This application's data files contains shape draw to the screen.
Their coordinate system has the 0,0 location at the bottom and y goes up as
you go up the screen (the opposite on what happens on windows control)
if I setup a coordinate transformation my strings, when drawn, are upside
down.
Is there any simple way to draw them correctly?
so far I though of 2 method:
1. create a new graphic container just before drawing string and changing
coordinate system
(but because the shape drawing string could be intermixed with other shape,
it's a shamble!)
2. manually transform all the coordinate of my shaped with a matrix before
using them, I'm afarid it would be inneficient...
Any thoughts?