Alvin wrote: > With respects to the fl_copy_offscreen(), is that only needed if the > offscreen is to be shown?
Yes, see also my other post. > If so, I don't need to show the offscreen, just > get the RGB data so I can dump it to a PNG/PPM file. I tried to annotate your code in my other post, and I hope that this will be readable and can assist you. > I'm checking out those links now to determine if they apply to my needs or > if I can further understand the offscreen capability and create what I need. > If I come up with something that: > > "Dumps the contents of a Fl_Group to Fl_RGB_Image" then perhaps I will make > an HOWTO article on fltk.org. There is also some code in fluid. Look for print_menu_cb under the WIN32 macro, and for read_image() in another .cxx file. The latter gets an image of a window, and the former writes this to a printer. Albrecht _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

