Home
last modified time | relevance | path

Searched refs:border (Results 1 – 8 of 8) sorted by relevance

/PHP-8.0/ext/gd/tests/
H A Dgithub_bug_215.phpt14 $border = imagecolorallocate( $image, 255, 0, 0 );
18 imagefilltoborder( $image, 0,0, $border+10, $fillcolor);
22 imagefilltoborder( $image, 0,0, -$border, $fillcolor);
27 imagefilltoborder( $image, 0,0, $border, $fillcolor+10);
31 imagefilltoborder( $image, 0,0, $border, -$fillcolor);
36 imagefilltoborder( $image, 0,0, $border+10, $fillcolor+10);
H A Dimagefilltoborder_basic.phpt18 // Draw an ellipse to fill with a black border
21 // Fill border
H A Dbug79676.phpt2 Bug #79676 (imagescale adds black border with IMG_BICUBIC)
H A Dbug73281.phpt2 Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border)
/PHP-8.0/ext/pcre/tests/
H A Dbug78338.phpt2 Bug #78338 (Array cross-border reading in PCRE)
/PHP-8.0/ext/gd/libgd/
H A Dgd.c1802 void gdImageFillToBorder (gdImagePtr im, int x, int y, int border, int color) in gdImageFillToBorder() argument
1809 if (border < 0 || color < 0) { in gdImageFillToBorder()
1815 if ((color > (im->colorsTotal - 1)) || (border > (im->colorsTotal - 1)) || (color < 0)) { in gdImageFillToBorder()
1835 if (gdImageGetPixel(im, i, y) == border) { in gdImageFillToBorder()
1848 if (gdImageGetPixel(im, i, y) == border) { in gdImageFillToBorder()
1861 if ((c != border) && (c != color)) { in gdImageFillToBorder()
1862 gdImageFillToBorder(im, i, y - 1, border, color); in gdImageFillToBorder()
1865 } else if ((c == border) || (c == color)) { in gdImageFillToBorder()
1878 if ((c != border) && (c != color)) { in gdImageFillToBorder()
1879 gdImageFillToBorder(im, i, y + 1, border, color); in gdImageFillToBorder()
[all …]
H A Dgd.h674 void gdImageFillToBorder(gdImagePtr im, int x, int y, int border, int color);
/PHP-8.0/ext/gd/
H A Dgd.c2533 zend_long x, y, border, col; in PHP_FUNCTION() local
2536 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ollll", &IM, gd_image_ce, &x, &y, &border, &col) == F… in PHP_FUNCTION()
2542 gdImageFillToBorder(im, x, y, border, col); in PHP_FUNCTION()

Completed in 26 milliseconds