Re: [Plplot-devel] extcairo w/ GtkAda

2015-06-12 Thread Sundelin Henri
.sunde...@aalto.fi>> Kopio: "plplot-devel@lists.sourceforge.net<mailto:plplot-devel@lists.sourceforge.net>" mailto:plplot-devel@lists.sourceforge.net>> Aihe: Re: [Plplot-devel] extcairo w/ GtkAda >From a quick check of one of the Fortran exmples in gtk-fortran, I think t

Re: [Plplot-devel] extcairo w/ GtkAda

2015-06-12 Thread James Tappin
>From a quick check of one of the Fortran exmples in gtk-fortran, I think that the problem is that the call is too early. The call to pl_cmd needs to come AFTER the call to plinit or plstar (it seems counter-intuitive but that seems to be the case) -- here is the relevant bit from the gtk version o

[Plplot-devel] extcairo w/ GtkAda

2015-06-12 Thread Sundelin Henri
Hi, I’ve been trying to get the extcairo driver to work with GtkAda. I’ve been trying to replicate the ext-cairo-test.c example, but I haven’t been yet succesful, I get a segfault.. Everything works fine with pdfcairo driver though. I had to expand the Ada binding a bit, since pl_cmd was not av