Revision: 6609
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6609&view=rev
Author: mdboom
Date: 2008-12-15 14:18:03 +0000 (Mon, 15 Dec 2008)
Log Message:
-----------
Turn off anti-aliasing when auto-snapping.
Modified Paths:
--------------
branches/v0_98_5_maint/CHANGELOG
branches/v0_98_5_maint/src/_backend_agg.cpp
Modified: branches/v0_98_5_maint/CHANGELOG
===================================================================
--- branches/v0_98_5_maint/CHANGELOG 2008-12-15 14:16:27 UTC (rev 6608)
+++ branches/v0_98_5_maint/CHANGELOG 2008-12-15 14:18:03 UTC (rev 6609)
@@ -1,3 +1,5 @@
+2008-12-15 Fix anti-aliasing when auto-snapping - MGD
+
2008-12-15 Fix grid lines not moving correctly during pan and zoom - MGD
2008-12-12 Fixed warning in hist() with numpy 1.2 - MM
Modified: branches/v0_98_5_maint/src/_backend_agg.cpp
===================================================================
--- branches/v0_98_5_maint/src/_backend_agg.cpp 2008-12-15 14:16:27 UTC (rev
6608)
+++ branches/v0_98_5_maint/src/_backend_agg.cpp 2008-12-15 14:18:03 UTC (rev
6609)
@@ -355,7 +355,7 @@
}
template<class Path>
-bool should_snap(const GCAgg& gc, Path& path, const agg::trans_affine& trans) {
+bool should_snap(GCAgg& gc, Path& path, const agg::trans_affine& trans) {
// If this contains only straight horizontal or vertical lines, it should be
// quantized to the nearest pixels
double x0, y0, x1, y1;
@@ -393,6 +393,7 @@
}
path.rewind(0);
+ gc.isaa = false;
return true;
case GCAgg::SNAP_FALSE:
return false;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins