[Kst] extragear/graphics/kst/kst

George Staikos staikos at kde.org
Wed Nov 9 03:28:13 CET 2005


SVN commit 479066 by staikos:

revertlast


 M  +2 -3      kstvcurve.cpp  


--- trunk/extragear/graphics/kst/kst/kstvcurve.cpp #479065:479066
@@ -1439,13 +1439,12 @@
           int X1i = d2i(X1);
           int Y1i = d2i(Y1);
           int Y2i = d2i(Y2);
-          int w = 6;
           p->drawLine(X1i, Y1i, X1i, Y2i);
           if (do_low_flag) {
-            p->drawLine(X1i + w, Y1i, X1i - w, Y1i);
+            p->drawLine(X1i + Point.dim(p), Y1i, X1i - Point.dim(p), Y1i);
           }
           if (do_high_flag) {
-            p->drawLine(X1i + w, Y2i, X1i - w, Y2i);
+            p->drawLine(X1i + Point.dim(p), Y2i, X1i - Point.dim(p), Y2i);
           }
         }
       }


More information about the Kst mailing list