Lines Matching refs:border
1741 void gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color)
1748 if (border < 0 || color < 0) {
1749 /* Refuse to fill to a non-solid border */
1754 if ((color > (im->colorsTotal - 1)) || (border > (im->colorsTotal - 1)) || (color < 0)) {
1774 if (gdImageGetPixel(im, i, y) == border) {
1787 if (gdImageGetPixel(im, i, y) == border) {
1800 if ((c != border) && (c != color)) {
1801 gdImageFillToBorder(im, i, y - 1, border, color);
1804 } else if ((c == border) || (c == color)) {
1817 if ((c != border) && (c != color)) {
1818 gdImageFillToBorder(im, i, y + 1, border, color);
1821 } else if ((c == border) || (c == color)) {
2747 /* If we are drawing this AA, then redraw the border with AA lines. */