[Qt-interest] Coordinate system decision

Bastian Bense bastibense at gmail.com
Mon Mar 30 12:49:47 CEST 2009


Sujan,

the coordinates I have to manage are recursive - that means that a
layout box contains a layout object, which in turn can contain another
layout object. Thus the coordinates of a child-object are always
relative to the parent object. I know this can be a lot of pain,
especially if you have to flip the Y-coordinate around every single
time you have to work with the data.

2009/3/30 Sujan Dasmahapatra <sdh at lmglasfiber.com>:
> Dear Bastian
> Coordinate system is one of the problems I faced in preliminary design
> of my propject.basically what I felt is that its upside down.There are
> no major changes in x direction only  incase of y direction its actually
> full positive down so if you change +y to  -y and -y to +y your geometry
> import or export would not be a problem whatever u use whether  top-left
> or bottom-left it doesn't matter.
>
> Kind Regards,
> Sujan Dasmahapatra


Best regards,
Bastian




More information about the Qt-interest-old mailing list