y0 669 ext/gd/libgd/gd.c static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { y0 676 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y0 678 ext/gd/libgd/gd.c *y0 -= (int)(m * *x0); y0 691 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y0 692 ext/gd/libgd/gd.c *y0 += (int)(m * (maxdim - *x0)); /* adjust so point is on the right boundary */ y0 703 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */ y0 709 ext/gd/libgd/gd.c m = (*y1 - *y0)/(double)(*x1 - *x0); /* calculate the slope of the line */