On 29/10/2009, Juha Manninen <juha.manni...@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/
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to