[fpc-pascal] X, Y co-ordinate system under OS/2

Tomas Hajny XHajT03 at mbox.vol.cz
Wed Oct 7 17:34:59 CEST 2009


On Wed, October 7, 2009 16:31, Graeme Geldenhuys wrote:


Hi,

> I'm porting an OS/2 application to Linux & Windows.  From what I can
> see in the code, it looks like co-ordinates (0,0) is in the bottom
> left corner of the screen. Whereas Windows and Linux, co-ordinates
> (0,0) is in the Top Left of the screen.
>
> Is my assumption correct?  If so, DAMN! This is going to cause a lot
> of work. :-/

Yes, this is the case as far as I know (I haven't done any GUI programming
under OS/2 myself, but I know that this has always been one of the main
porting obstacles between Win32 and OS/2 at least).

Tomas





More information about the fpc-pascal mailing list