[Kst] extragear/graphics/kst/src/libkstmath
George Staikos
staikos at kde.org
Fri Oct 6 04:53:22 CEST 2006
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