From: <md...@us...> - 2010-06-22 19:31:03
|
Revision: 8456 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8456&view=rev Author: mdboom Date: 2010-06-22 19:30:57 +0000 (Tue, 22 Jun 2010) Log Message: ----------- Fix severe slowness with very high image magnification. Modified Paths: -------------- trunk/matplotlib/src/_image.cpp Modified: trunk/matplotlib/src/_image.cpp =================================================================== --- trunk/matplotlib/src/_image.cpp 2010-06-22 16:30:24 UTC (rev 8455) +++ trunk/matplotlib/src/_image.cpp 2010-06-22 19:30:57 UTC (rev 8456) @@ -353,6 +353,7 @@ agg::rasterizer_scanline_aa<> ras; agg::scanline_u8 sl; + ras.clip_box(0, 0, numcols, numrows); //srcMatrix *= resizingMatrix; //imageMatrix *= resizingMatrix; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |