On Mar 4, 2008, at 9:36 PM, Jonathan Woithe wrote: > Hi > > 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.
How well do you think it would work to have PLplot/cairo draw into a memory buffer which is then transfered by the library user to a X Drawable? This seems to be more general, but perhaps plotting to X Drawable already covers 90% of the common use cases? The structure for this already exists to some extent in the form of the memcairo driver, but unfortunately this driver is not yet functional. Also, in your patch, you need to consider the situation where the user does not have X Windows and the related libraries installed on their machine. best, -Hazen ------------------------------------------------------------------------- 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