[Kst] [Bug 135049] Rare drawing bug with XY curves

George Staikos staikos at kde.org
Fri Oct 6 04:53:33 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=135049         
staikos kde org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From staikos kde org  2006-10-06 04:53 -------
SVN commit 592880 by staikos:

if we're going to draw a line segment and jump we'd better flush the polyline
too
BUG: 135049


 M  +4 -0      kstvcurve.cpp  


--- trunk/extragear/graphics/kst/src/libkstmath/kstvcurve.cpp #592879:592880
 @ -1045,6 +1045,10  @
                     minY = Ly;
                   }
                   if (KDE_ISUNLIKELY(minY >= Ly && minY <= Hy && maxY >= Ly && maxY <= Hy)) {
+                    if (index > 0) {
+                      p->drawPolyline(points, 0, index);
+                      index = 0;
+                    }
                     p->drawLine(X2i, d2i(minY), X2i, d2i(maxY));
                   }
                 }


More information about the Kst mailing list