[Kst] [Bug 115966] Error bar tails are too wide
Barth Netterfield
netterfield at astro.utoronto.ca
Thu Nov 10 02:23:20 CET 2005
Matt just submitted the correct fix. Go ahead and revert this.
cbn
On November 8, 2005 09:21 pm, George Staikos wrote:
> ------- 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=115966
>
>
>
>
> ------- Additional Comments From staikos kde org 2005-11-09 03:21 -------
> SVN commit 479065 by staikos:
>
> at least a temporary workaround for the error bar bug
> The question is, what was this -supposed- to do? I can't make any sense
> out of KstPoint::dim() and I'm not even sure why it was used here. I
> hardcoded the value to 5. The same will need to be applied elsewhere if
> it's OK. CCBUG: 115966
>
>
> M +3 -2 kstvcurve.cpp
>
>
> --- trunk/extragear/graphics/kst/kst/kstvcurve.cpp #479064:479065
> @ -1439,12 +1439,13 @
> 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 + Point.dim(p), Y1i, X1i - Point.dim(p), Y1i);
> + p->drawLine(X1i + w, Y1i, X1i - w, Y1i);
> }
> if (do_high_flag) {
> - p->drawLine(X1i + Point.dim(p), Y2i, X1i - Point.dim(p), Y2i);
> + p->drawLine(X1i + w, Y2i, X1i - w, Y2i);
> }
> }
> }
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list