Revision: 6341
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6341&view=rev
Author: mdboom
Date: 2008-10-28 12:51:39 +0000 (Tue, 28 Oct 2008)
Log Message:
-----------
Update TkAgg and GtkAgg extensions to match yesterday's refactoring in
backend_agg
Modified Paths:
--------------
trunk/matplotlib/src/_gtkagg.cpp
trunk/matplotlib/src/_tkagg.cpp
Modified: trunk/matplotlib/src/_gtkagg.cpp
===================================================================
--- trunk/matplotlib/src/_gtkagg.cpp 2008-10-27 21:13:24 UTC (rev 6340)
+++ trunk/matplotlib/src/_gtkagg.cpp 2008-10-28 12:51:39 UTC (rev 6341)
@@ -98,7 +98,7 @@
//destrb.clear(agg::rgba(1, 1, 1, 0));
agg::rect_base<int> region(destx, desty, (int)r, srcheight-(int)b);
- destrb.copy_from(*aggRenderer->renderingBuffer, ®ion,
+ destrb.copy_from(aggRenderer->renderingBuffer, ®ion,
-destx, -desty);
}
Modified: trunk/matplotlib/src/_tkagg.cpp
===================================================================
--- trunk/matplotlib/src/_tkagg.cpp 2008-10-27 21:13:24 UTC (rev 6340)
+++ trunk/matplotlib/src/_tkagg.cpp 2008-10-28 12:51:39 UTC (rev 6341)
@@ -131,7 +131,7 @@
renderer_base destrb(destpf);
agg::rect_base<int> region(destx, desty, (int)r, srcheight-(int)b);
- destrb.copy_from(*aggRenderer->renderingBuffer, ®ion,
+ destrb.copy_from(aggRenderer->renderingBuffer, ®ion,
-destx, -desty);
} else {
has_bbox = false;
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins