Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Hazen Babcock
On Mar 12, 2008, at 7:28 PM, Doug Hunt wrote: > Hi Hazen: > > The original 'mem' driver plotted into an unsigned char array with > size > 3 x height x width (thus no alpha channel). The cairo drivers plot > into > 32 bit RGB arrays (with an alpha channel). For the memcairo driver > (as a

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Doug Hunt
Hi Hazen: The original 'mem' driver plotted into an unsigned char array with size 3 x height x width (thus no alpha channel). The cairo drivers plot into 32 bit RGB arrays (with an alpha channel). For the memcairo driver (as a first cut), I just copied in the 24 bits of RGB info into the 32 b

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Hazen Babcock
On Mar 12, 2008, at 11:34 AM, Doug Hunt wrote: > Hi again, Hazen, all: I just noticed that the patch I sent > contains a bug. I used malloc where I ought to have used calloc in > one place. > > Would it be possible for me to get SVN access so I can just fix > this myself? I'd also like t

Re: [Plplot-devel] memcairo driver fixes

2008-03-12 Thread Doug Hunt
Hi again, Hazen, all: I just noticed that the patch I sent contains a bug. I used malloc where I ought to have used calloc in one place. Would it be possible for me to get SVN access so I can just fix this myself? I'd also like to look into the possibility of adding optional alpha channel su

Re: [Plplot-devel] memcairo driver fixes

2008-03-10 Thread Doug Hunt
Hazen: Thanks! --Doug [EMAIL PROTECTED] Software Engineer III UCAR - COSMIC, Tel. (303) 497-2611 On Sun, 9 Mar 2008, Hazen Babcock wrote: > > On Mar 6, 2008, at 6:52 PM, Doug Hunt wrote: > >> Hi Hazen, all: I think I was able to get the memcairo driver working. >> Attached is a patch to plpl

Re: [Plplot-devel] memcairo driver fixes

2008-03-09 Thread Hazen Babcock
On Mar 6, 2008, at 6:52 PM, Doug Hunt wrote: > Hi Hazen, all: I think I was able to get the memcairo driver > working. Attached is a patch to plplot-5.9.0:drivers/cairo.c. > > The immediate problem was that the X and Y dimensions of the plot > were not correct in plD_eop_memcairo. The PLstr

Re: [Plplot-devel] memcairo driver

2008-02-29 Thread Hazen Babcock
On Feb 29, 2008, at 11:49 AM, Doug Hunt wrote: > Hi all: I just got all the dependencies working and installed > plplot 5.9.0 with the cairo drivers. Looks good! > > I'm curious about the 'memcairo' driver--I compiled it, but it > fails under > perl/PDL (my native language). The comments sai

[Plplot-devel] memcairo driver

2008-02-29 Thread Doug Hunt
Hi all: I just got all the dependencies working and installed plplot 5.9.0 with the cairo drivers. Looks good! I'm curious about the 'memcairo' driver--I compiled it, but it fails under perl/PDL (my native language). The comments said it was turned off by default because it does not work well