maxdim 669 ext/gd/libgd/gd.c static int clip_1d(int *x0, int *y0, int *x1, int *y1, int maxdim) { maxdim 681 ext/gd/libgd/gd.c if (*x1 > maxdim) { maxdim 682 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); maxdim 683 ext/gd/libgd/gd.c *x1 = maxdim; maxdim 687 ext/gd/libgd/gd.c if (*x0 > maxdim) { /* start of line is right of window - complement of above */ maxdim 688 ext/gd/libgd/gd.c if (*x1 > maxdim) { /* as is the end, so the line misses the window */ maxdim 692 ext/gd/libgd/gd.c *y0 += (int)(m * (maxdim - *x0)); /* adjust so point is on the right boundary */ maxdim 693 ext/gd/libgd/gd.c *x0 = maxdim; maxdim 702 ext/gd/libgd/gd.c if (*x1 > maxdim) { /* other end is outside to the right */ maxdim 704 ext/gd/libgd/gd.c *y1 += (int)(m * (maxdim - *x1)); maxdim 705 ext/gd/libgd/gd.c *x1 = maxdim;