[fxruby-users] Printing & exporting

Lyle Johnson lyle at knology.net
Tue Mar 7 09:20:46 EST 2006


On Mar 6, 2006, at 8:45 AM, Guillaume Marcais wrote:

> Two questions about FXRuby:
>
> Does printing with FXDCPrint works? All I manage to get are corrupt
> poscript file or completely blank pages... Any tricks or pitfalls to
> avoid when using FXDCPrint?

I don't believe that FOX's printing code really works yet, but to be  
sure you could ask on the FOX mailing list.

> Can I export the content of a canvas as a picture in JPEG or PNG  
> format?

Sure, see the code on this page of the FOX Community Wiki:

	http://fox-toolkit.net/cgi-bin/wiki.pl?Cookbook/ 
Making_A_Snapshot_Of_A_Widget

Hope this helps,

Lyle



More information about the fxruby-users mailing list