pre_value = value;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* major grid line */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,
if(value < im->minval) continue;
Y0 = ytr(im, value);
- if(Y0 <= im->yorigin - im->ysize) break;
+ if(round(Y0) <= im->yorigin - im->ysize) break;
/* draw lines */
gfx_new_dashed_line ( im->canvas,