[fpc-pascal] X, Y co-ordinate system under OS/2
    Graeme Geldenhuys 
    graemeg.lists at gmail.com
       
    Thu Oct 29 09:51:21 CET 2009
    
    
  
On 29/10/2009, Juha Manninen <juha.manninen at phnet.fi> wrote:
>
> If done right, the code doing coordinate conversion should be in library
>  Canvas class, not in application code.
That's how I would have implemented in it fpGUI as well. The higher
level code uses x, y as normal. The drawing backend code does
conversions if needed.
That's how I handle differences between Windows GDI API and XLib API.
-- 
Regards,
  - Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
    
    
More information about the fpc-pascal
mailing list