> > I am working on an application which requires plots to be displayed > > within the context of the program's windows. In practice this means > > that I needed plplot to have the ability to plot to a supplied X > > Drawable rather than to an X window which plplot creates and manages > > itself. > > Another thought along this line. How about a driver that would plot > to a supplied cairo context? This is easy to get from e.g. Gdk, and > it might provide some extra flexibility. Gtk on Windows might for > example benefit from this approach. This driver could be called just > "cairo" to emphasize its generic nature.
It's a fair thought and probably not all that difficult to do. The existing cairo framework could be used, with an extension like I did for X Drawables being used to pass in an externally created cairo context. I could look into this in more detail but I won't have a lot of time over the next few weeks. If no one else beats me to it I'll pick up on this when time allows. Regards jonathan ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel