Revision: 4590
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4590&view=rev
Author:   mdboom
Date:     2007-12-04 12:06:45 -0800 (Tue, 04 Dec 2007)

Log Message:
-----------
Bugfix for missing markers.  Bugfix for faceted pcolor-based quadmeshes.

Modified Paths:
--------------
    branches/transforms/src/_backend_agg.cpp

Modified: branches/transforms/src/_backend_agg.cpp
===================================================================
--- branches/transforms/src/_backend_agg.cpp    2007-12-04 19:57:01 UTC (rev 
4589)
+++ branches/transforms/src/_backend_agg.cpp    2007-12-04 20:06:45 UTC (rev 
4590)
@@ -506,6 +506,8 @@
   //maxim's suggestions for cached scanlines
   agg::scanline_storage_aa8 scanlines;
   theRasterizer->reset();
+  theRasterizer->reset_clipping();
+  rendererBase->reset_clipping(true);
 
   agg::int8u  staticFillCache[MARKER_CACHE_SIZE];
   agg::int8u  staticStrokeCache[MARKER_CACHE_SIZE];
@@ -792,8 +794,12 @@
   // Render stroke
   if (gc.linewidth != 0.0) {
     double linewidth = gc.linewidth;
-    if (!gc.isaa)
-      linewidth = round(linewidth);
+    if (!gc.isaa) {
+      if (linewidth < 0.5)
+       linewidth = 0.5;
+      else
+       linewidth = round(linewidth);
+    }
     if (gc.dashes.size() == 0) {
       stroke_t stroke(path);
       stroke.width(linewidth);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to