Home
last modified time | relevance | path

Searched refs:black (Results 1 – 25 of 35) sorted by relevance

12

/PHP-7.4/ext/gd/tests/
H A Dbug24594.phpt14 $black = imagecolorallocate($tile,0,0,0);
16 $black = imagecolorallocate($base,0,0,0);
21 imagesetpixel($tile,$x,$y,$black);
26 imagerectangle($base, 9,9,139,139,$black);
27 imageline($base, 9,9,139,139,$black);
30 $res = imagecolorat($base,0,10)==$black?'1':'0';
31 $res .= imagecolorat($base,0,20)==$black?'1':'0';
32 $res .= imagecolorat($base,0,30)==$black?'1':'0';
33 $res .= imagecolorat($base,0,40)==$black?'1':'0';
53 imagerectangle($base, 9,9,139,139,$black);
[all …]
H A Dbug40764.phpt11 $black = imagecolorallocate($image, 0, 0, 0);
17 imageline($image, 200, 0, 200, 400, $black);
18 imageline($image, 0, 200, 400, 200, $black);
19 imageline($image, 0, 0, 392, 392, $black);
H A Dbug53156.phpt14 global $img, $black, $red;
16 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-';
22 global $img, $black;
25 imagerectangle($img, $x1, $y1, $x2, $y2, $black);
37 $black = imagecolorallocate($img, 0, 0, 0);
H A Dimagettftext_charmap_order.phpt23 $black = imagecolorallocate($im, 0, 0, 0);
40 $black,
59 printf("SUCCESS %d black pixels\n", $black_pixels);
61 printf("FAIL %d black pixels\n", $black_pixels);
66 SUCCESS %d black pixels
H A Dbug43475.phpt36 $black = imagecolorallocate($im, 0, 0, 0);
38 setStyleAndThickness($im, $black, 1);
43 setStyleAndThickness($im, $black, 2);
48 setStyleAndThickness($im, $black, 4);
53 setStyleAndThickness($im, $black, 6);
H A Dimagepolygon_aa.phpt13 $black = imagecolorallocate($im, 0, 0, 0);
17 imagepolygon($im, [10,10, 49,89, 89,49], 3, $black);
H A Dbug73213.phpt12 $black = imagecolorallocate($im, 0, 0, 0);
15 imageline($im, 0,0, 32767,0, $black);
H A Dimagefilledpolygon_negative.phpt10 $black = imagecolorallocate($im, 0, 0, 0);
11 if (imagefilledpolygon($im, array(0, 0, 0, 0, 0, 0), -1, $black)) echo "should be false";
H A Dimagepolygon_negative.phpt10 $black = imagecolorallocate($im, 0, 0, 0);
11 if (imagepolygon($im, array(0, 0, 0, 0, 0, 0), -1, $black)) echo "should be false";
H A Dimageopenpolygon_basic.phpt13 $black = imagecolorallocate($im, 0, 0, 0);
19 imageopenpolygon($im, [10,10, 49,89, 89,10], 3, $black);
H A Dbug48732.phpt14 $black = imagecolorallocate($g, 0, 0, 0);
15 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug48732-mb.phpt15 $black = imagecolorallocate($g, 0, 0, 0);
16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dimagesetthickness_basic.phpt15 $black = imagecolorallocate($image, 0x00, 0x00, 0x00);
24 imagerectangle($image, 14, 14, 185, 85, $black);
H A Dimageloadfont_invalid.phpt17 $black = imagecolorallocate($image, 0, 0, 0);
18 imagestring($image, $font, 0, 0, "Hello", $black);
H A Dbug50194.phpt15 $black = imagecolorallocate($im, 0, 0, 0);
20 imagettftext($im, 40, 0, 10, 40, $black, $font, $text);
H A Dbug43073.phpt33 $black = imagecolorallocate($g, 0, 0, 0);
40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF');
H A Dbug43121.phpt13 $black = ImageColorAllocate( $im, 0, 0, 0 );
H A Dimagefilltoborder_basic.phpt18 // Draw an ellipse to fill with a black border
H A Dimagefilltoborder_error6.phpt18 // Draw an ellipse to fill with a black border
H A Dbug67447.phpt2 Bug #67447 (imagecrop() adds a black line when cropping)
H A Dlibgd00100.phpt13 $black = imagecolorallocatealpha($im, 0, 0, 0, 10);
107 imagefilledpolygon($im, $points, 5, $black);
H A Dbug73281.phpt2 Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border)
/PHP-7.4/ext/gd/libgd/
H A Dgdtestft.c32 int black; in main()
81 black = gdImageColorResolve (im, 0, 0, 0); in main()
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s); in main()
H A Dgd_wbmp.c146 int black, white; in gdImageCreateFromWBMPCtx() local
161 black = gdImageColorAllocate(im, 0, 0, 0); in gdImageCreateFromWBMPCtx()
170 gdImageSetPixel(im, col, row, black); in gdImageCreateFromWBMPCtx()
/PHP-7.4/ext/standard/tests/array/
H A Darray_splice_basic.phpt30 var_dump (array_splice($input, -1, 1, array("black", "maroon")));
33 // "blue", "black", "maroon")
99 string(5) "black"

Completed in 102 milliseconds

12