Handling Gnome::Canvas data



Hi,

I've been trying to render a Gnome::Canvas to a pixbuf, without any luck.  I read that in Perl you must use the pack() function to pack the pixel data from the Gdk::Window into a scalar.  Unfortunately, I'm not sure how to get the pixel data, or how to pack it properly.  Could anyone provide a quick demo of how this is done?

Thank you,
CB

:wq


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]