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 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user