Hi all, so I commited the change to the cairo driver by adding a new function filled_polygon(). You can play around with the width of the stroke by changing this line:
cairo_set_line_width(aStream->cairoContext, 1.0); A width of 1.0 is good for shade plots without transparency. Example 30 doesn't look that good (but not worse than before). I couldn't find a good width for example 30. Actually the solution to this problem should be http://www.cairographics.org/manual/cairo-context.html#cairo-push-group where our case is described. Here we draw the fill and the stroke opaque in the same color in an intermediate buffer and then draw this buffer with a transparency into the image. Sounds nice, but has some disadvantages: 1) the driver gets unbearable slow 2) example 30 doesn't look better because of this :) 3) the pdf file size of example 30 increases from 8 to 200kB. I commited the code, but commented it. In order to test it in cairo.c you would need to comment line 795 and uncomment line 796. Also uncomment line 798, 801, 802. So in theory this should solve our problem but actually it does not. Now we need to discuss if we keep this stroke around the polygons or revert to the old code. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel