Revision: 4184 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4184&view=rev Author: mdboom Date: 2007-11-09 08:33:58 -0800 (Fri, 09 Nov 2007)
Log Message: ----------- Fix misaligned clipping rectangle. Modified Paths: -------------- branches/transforms/src/_backend_agg.cpp Modified: branches/transforms/src/_backend_agg.cpp =================================================================== --- branches/transforms/src/_backend_agg.cpp 2007-11-09 14:24:41 UTC (rev 4183) +++ branches/transforms/src/_backend_agg.cpp 2007-11-09 16:33:58 UTC (rev 4184) @@ -282,7 +282,7 @@ double l, b, r, t; if (py_convert_bbox(cliprect.ptr(), l, b, r, t)) { - rasterizer->clip_box((int)l, (int)b, (int)r, (int)t); + rasterizer->clip_box((int)l + 1, (int)b + 1, (int)r + 1, (int)t + 1); } _VERBOSE("RendererAgg::set_clipbox done"); 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: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins