> I'm trying to make an incremental update using Cairo for rendering. > > How do I do this?
The fltk design doesn't lend itself to drawing to a window outside the context of its draw method (make_current notwithstanding...!) If it were me (and I'm not a big fan of incremental updates, so it probably wouldn't be) then I'd look at rendering into an offscreen buffer, which I could safely access at my leisure (and not just inside fltk's draw method.) Then have the window draw method copy the offscreen into the window as required. Fltk provides methods to create, and copy from, suitable offscreen contexts that you could use. That might be what you need? 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

