maxdim 671 ext/gd/libgd/gd.c static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { maxdim 683 ext/gd/libgd/gd.c if (*x1 > maxdim) { maxdim 684 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); maxdim 685 ext/gd/libgd/gd.c *x1 = maxdim; maxdim 689 ext/gd/libgd/gd.c if (*x0 > maxdim) { /* start of line is right of window - complement of above */ maxdim 690 ext/gd/libgd/gd.c if (*x1 > maxdim) { /* as is the end, so the line misses the window */ maxdim 694 ext/gd/libgd/gd.c *y0 += (int)(m * (maxdim - *x0)); /* adjust so point is on the right boundary */ maxdim 695 ext/gd/libgd/gd.c *x0 = maxdim; maxdim 704 ext/gd/libgd/gd.c if (*x1 > maxdim) { /* other end is outside to the right */ maxdim 706 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); maxdim 707 ext/gd/libgd/gd.c *x1 = maxdim;