From: Richard H. <ric...@st...> - 2009-09-10 09:37:19
|
On Wed, 2009-09-09 at 08:42 -0700, Ethan Merritt wrote: <snip> > > I'm not a gtk programmer, but there's always Google... > which leads me to the plplot project on SourceForge. It seems that > plplot is somewhat similar to gnuplot in intent, but the relevant point > is that they recently added an external cairo terminal driver "extcairo" > that so far as I can tell from the description does exactly what you want. > If it works for them, I don't see why it wouldn't work for us. > Anyonw have time to check out the code and report back on how the > information to open the context is passed? I've had a quick look at what I think the relevant bits of PLplot are. 1. The extcairo driver within PLplot requires an existing cairo context to be provided to it. 2. PLplot then draws over the context and returns. there is a useful post provided by the author of the extcairo driver: http://www.mail-archive.com/plp...@li.../msg01273.html and example usage: http://plplot.sourcearchive.com/documentation/5.9.2/ext-cairo-test_8c-source.html r, -- Scanned by iCritical. |