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.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to