> > this the demo :) > > > > > > But Benoit please try it too :.. i've found some failure on the output : > > > > On gtk ... the picture is too big ! (like the font in the reports) > > > > On Qt ... nothing in the file neither in pdf nor in ps > > The Printer1.Count is zero by default on gb.qt4. You must set it to one so > that at least one page is printed. I will fix that so that the number of > pages is one by default as in gb.gtk. > > And the picture is not "too big". You use Image.Width and Image.Height as > drawing dimension, so the result depends on the value of Paint.Width and > Paint.Height, which are very different between gb.gtk and gb.qt4. > > I will try to make a Paint.DrawImage() utility function to help drawing > images. > > Regards,
http://bugreports.qt.nokia.com/browse/QTBUG-5114 That Qt bug explain why printing images to PDF or PS does not work with gb.qt4! It is reported since October 2009. Weird... -- Benoît Minisini ------------------------------------------------------------------------------ What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Time to move off Lotus Notes and onto the cloud with Force.com, apps are easier to build, use, and manage than apps on traditional platforms. Sign up for the Lotus Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user