Am Dienstag, den 20.11.2012, 10:58 +0100 schrieb Rolf-Werner Eilert:
> Hi,
> 
> just to make sure I haven't overseen anything... In GB2 I could use Draw 
> to draw into a DrawingArea or Picture or Printer object. In GB3 for a 
> Printer, I have to use Paint instead, and Printer is completely event 
> driven (_Begin, _Draw, _End)?
> 
> This would mean re-writing my printer-preview and printing functions 
> completely, because they are set to one of DrawingArea (for preview) or 
> Printer before the thing starts, and then just print into these using 
> Draw. The core functions don't care about what they draw in.
> 
> If I understand it right, I now have to make a difference between 
> preview and paper printing, so I have to make all those functions twice.
> 
> Please confirm or correct me if I'm wrong.
> 
> Regards
> 
> Rolf

Salut Rolf,

to avoid that, you can save the DrawingAreas to disk, glue them with
"convert" to a PDF-Doc and send it to "evince" or any other PDF Viewer.

Or use the example I sent you some days ago. 
-- 
Amicalement
Charlie


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to