Re: [Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-13 Thread Maurice LeBrun
On Wednesday, April 9, 2008 at 09:27:32 (+0930) Jonathan Woithe writes: Currently the PLXcairoDrawableInfo structure used to pass an external X drawable in to the xcairo driver is private to cairo.h. This means that anyone using this feature must define their own structure to do this which

Re: [Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-13 Thread Jonathan Woithe
The patch below (against svn rev 8364) addresses this by moving the definition of PLXcairoDrawableInfo from drivers/cairo.c into include/plplot.h. It is still protected by the PLD_xcairo so at least in theory its presence should not cause any trouble when plplot is compiled on a

Re: [Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-13 Thread mjl
Ugh.. mailer problems. On Monday, April 14, 2008 at 14:20:27 (+0930) Jonathan Woithe writes: The patch below (against svn rev 8364) addresses this by moving the definition of PLXcairoDrawableInfo from drivers/cairo.c into include/plplot.h. It is still protected by the PLD_xcairo

[Plplot-devel] Making PLXcairoDrawableInfo structure public

2008-04-08 Thread Jonathan Woithe
Currently the PLXcairoDrawableInfo structure used to pass an external X drawable in to the xcairo driver is private to cairo.h. This means that anyone using this feature must define their own structure to do this which opens up the possibility that they could get the field ordering wrong. It