From: <md...@us...> - 2010-11-12 14:58:39
|
Revision: 8792 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8792&view=rev Author: mdboom Date: 2010-11-12 14:58:33 +0000 (Fri, 12 Nov 2010) Log Message: ----------- Clip all objects in Agg to the figure Modified Paths: -------------- branches/v1_0_maint/src/_backend_agg.cpp Modified: branches/v1_0_maint/src/_backend_agg.cpp =================================================================== --- branches/v1_0_maint/src/_backend_agg.cpp 2010-11-10 17:04:12 UTC (rev 8791) +++ branches/v1_0_maint/src/_backend_agg.cpp 2010-11-12 14:58:33 UTC (rev 8792) @@ -431,6 +431,8 @@ { rasterizer.clip_box(int(mpl_round(l)), height - int(mpl_round(b)), int(mpl_round(r)), height - int(mpl_round(t))); + } else { + rasterizer.clip_box(0, 0, width, height); } _VERBOSE("RendererAgg::set_clipbox done"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |