Hi,

I changed the library such that a2dCanvasSim can also work with tools.
A2dCanvasSim has a drawing buffer the size of the whole virtual area,  
and  that takes memory of course.
But the advantage is that scrolling is very fast. Also scrolling can 
only be defined in a pixels like way.
a2dCanvas has only a buffer the size of the window client area ( plus 
some oversize ), and it detect all (keys/scrolling) to make sure the 
buffer is redrawn with the right information when scrolling.

Todo is a canvas which has a buffer any size in between the virtual 
scrollable area and the window cleint area.
But that is future ;-)

The simple sample_editor_single2 is change so one can use both a2dCanvas 
or a2dCanvasSim  using a #define SIMPLE.

Klaas

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wxart2d-users_dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to