[Gambas-user] About Drawinarea.Cached

Rolf-Werner Eilert eilert-sprachen at ...221...
Mon Feb 28 12:47:31 CET 2011


Am 28.02.2011 09:49, schrieb Demosthenes Koptsis:
> i read the docs about Cached property of DrawingArea control.
>
> i want to ask what is the use of Cached property.
>
> In other words why to be erased the drawing when another form is over
> the control?
>
>

You can choose what you want: more speed and less memory or less speed 
and more memory.

If you cache it, it will take some time and memory to cache everything 
for the case it is destroyed by another window on top of it. If you need 
more speed or you want to save graphics memory, you can do without 
caching, but then there is the danger of losing parts of the picture.

Regards

Rolf




More information about the User mailing list