[Gambas-devel] Printing

Benoit Minisini gambas at ...20...
Sun Nov 9 18:22:38 CET 2003


Le Vendredi 7 Novembre 2003 19:35, Rob a écrit :
> I see a big flaw with how this works in that sometimes you may
> want to interleave drawing on a printer and some other drawing
> surface (like a DrawingArea you're using as part of a user
> interface) but Draw.end causes the printer to kick out the page.

You can imbricate calls to Draw.Begin.

Draw.Begin(Printer)
Draw.Text(...)
...
Draw.Begin(MyDrawingArea)
...
Draw.End ' on MyDrawingArea
...
Draw.End ' on Printer

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the Devel mailing list