Revision: 6356
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6356&view=rev
Author: mdboom
Date: 2008-10-30 14:56:51 +0000 (Thu, 30 Oct 2008)
Log Message:
-----------
Improve appearance of markers in Agg backend.
Modified Paths:
--------------
trunk/matplotlib/src/_backend_agg.cpp
Modified: trunk/matplotlib/src/_backend_agg.cpp
===================================================================
--- trunk/matplotlib/src/_backend_agg.cpp 2008-10-30 14:33:30 UTC (rev
6355)
+++ trunk/matplotlib/src/_backend_agg.cpp 2008-10-30 14:56:51 UTC (rev
6356)
@@ -490,7 +490,9 @@
trans *= agg::trans_affine_translation(0.0, (double)height);
PathIterator marker_path(marker_path_obj);
- bool marker_snap = should_snap(marker_path, marker_trans);
+ // The built-in markers look better if snapping is turned on.
+ const bool marker_snap = true;
+ // bool marker_snap = should_snap(marker_path, marker_trans);
transformed_path_t marker_path_transformed(marker_path, marker_trans);
simplify_t marker_path_simplified(marker_path_transformed, marker_snap,
false, width, height);
curve_t marker_path_curve(marker_path_simplified);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
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=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins