Fabien Costantini wrote: >> Yes - I saw there was some stuff in fltk-2, but the mechanism used to >> get at the Quartz layer seems to be quite different from the fltk-1.1 >> version (although I may just be misunderstanding what's being done.) >> >> The bulk of the existing code is in fltk-1.1.9, so a port is not readily >> feasible. > > It should be quite easy to port the demo program and underlying cairo > surfaces mapping to fltk1.x. > > Maybe it is a good idea to provide minimum service for cairo (optionally of > course) consisting in mapping a cairo surface to an fltk window ? > > Similarly to the new Fl_Audio class, we could have an Fl_Cairo_Window widget > class ? > It should not take days to implement...
I think it would be better to provide Cairo support as a compile-time option, much as we allow switching between Quickdraw and Quartz, Xft and X11 text rendering, etc. -- ______________________________________________________________________ Michael Sweet, Easy Software Products mike at easysw dot com _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

