|
From: <ai...@us...> - 2013-04-30 04:53:00
|
Revision: 12311
http://sourceforge.net/p/plplot/code/12311
Author: airwin
Date: 2013-04-30 04:52:56 +0000 (Tue, 30 Apr 2013)
Log Message:
-----------
Follow suggestion from H?\199?\142ili?\195?\160ng Wang <hwa...@gm...> to use the
user-specified line width for fills rather than the hard-coded width
value of 1.0 that was used previously.
Modified Paths:
--------------
trunk/drivers/cairo.c
Modified: trunk/drivers/cairo.c
===================================================================
--- trunk/drivers/cairo.c 2013-04-28 17:37:01 UTC (rev 12310)
+++ trunk/drivers/cairo.c 2013-04-30 04:52:56 UTC (rev 12311)
@@ -1424,7 +1424,14 @@
// These line properties make for a nicer looking polygon mesh
set_line_properties( aStream, CAIRO_LINE_JOIN_BEVEL, CAIRO_LINE_CAP_BUTT );
- cairo_set_line_width( aStream->cairoContext, 1.0 );
+ // Comment out the following call to cairo_set_line width
+ // since the hard-coded width value of 1.0 is not appropriate
+ // for fills of small areas. Instead, use the line width that
+ // has already been set by the user via the above call of
+ // poly_line which in turn calls set_current_context which in
+ // turn calls cairo_set_line_width for the user-specified
+ // width.
+ // cairo_set_line_width( aStream->cairoContext, 1.0 );
cairo_stroke( aStream->cairoContext );
}
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|