> I have a need to have a widget library that will write the > data to an in memory buffer that can be then passed to > another processor to do the display. Will FLTK do this?
Quite possibly - fltk provides methods to create "offscreen" render contexts, which I use a fair bit in my app with fltk-1.1.9 to buffer complex scenes so I don't have to re-render the full scene all the time. So you could use such a context, and do all your drawing there. You would then need to get a handle to this and recover the "coloured in" pixel data - this is where you'd have to add some of your own code. A particualr problem is that the pixels will be "coloured in" in whatever order the local rendering context thinks is appropriate, which might not match the remote system, so you might need a bit of RGB <-> BGR swapping or similar... SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

