[Gambas-user] Drawing Area

EA7DFH ea7dfh at ...2382...
Thu Feb 25 19:25:28 CET 2010


Hi

Doriano, I think there is no need to use Draw.Begin and Draw.End when
drawings are triggered within the _Draw event. Good introduction, BTW.

I'm not used to work with this event, what leads me to ask how to draw
directly to a printer using this event, if possible at least.

Regards,
Jesús

Doriano Blengino escribió:
 when the graphic needs to be displayed, it "asks" your code to
> paint the area (using an event) - no image is kept in memory and,
> besides, it is possible to optimize a few things. To update the image,
> you refresh() the drawingarea, which in turn raises the event; this also
> happens when you cover the graphic with another window and later you
> unveil it.
> Regards,
> Doriano




More information about the User mailing list