Home
last modified time | relevance | path

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

12

/PHP-8.2/ext/gd/tests/
H A Dbug24594.phpt10 $black = imagecolorallocate($tile,0,0,0);
12 $black = imagecolorallocate($base,0,0,0);
17 imagesetpixel($tile,$x,$y,$black);
22 imagerectangle($base, 9,9,139,139,$black);
23 imageline($base, 9,9,139,139,$black);
26 $res = imagecolorat($base,0,10)==$black?'1':'0';
27 $res .= imagecolorat($base,0,20)==$black?'1':'0';
28 $res .= imagecolorat($base,0,30)==$black?'1':'0';
29 $res .= imagecolorat($base,0,40)==$black?'1':'0';
49 imagerectangle($base, 9,9,139,139,$black);
[all …]
H A Dbug40764.phpt9 $black = imagecolorallocate($image, 0, 0, 0);
15 imageline($image, 200, 0, 200, 400, $black);
16 imageline($image, 0, 200, 400, 200, $black);
17 imageline($image, 0, 0, 392, 392, $black);
H A Dbug53156.phpt15 global $img, $black, $red;
17 echo (imagecolorat($img, $x, $y) === $black) ? '+' : '-';
23 global $img, $black;
26 imagerectangle($img, $x1, $y1, $x2, $y2, $black);
38 $black = imagecolorallocate($img, 0, 0, 0);
H A Dimagettftext_charmap_order.phpt24 $black = imagecolorallocate($im, 0, 0, 0);
41 $black,
60 printf("SUCCESS %d black pixels\n", $black_pixels);
62 printf("FAIL %d black pixels\n", $black_pixels);
67 SUCCESS %d black pixels
H A Dbug43475.phpt37 $black = imagecolorallocate($im, 0, 0, 0);
39 setStyleAndThickness($im, $black, 1);
44 setStyleAndThickness($im, $black, 2);
49 setStyleAndThickness($im, $black, 4);
54 setStyleAndThickness($im, $black, 6);
H A Dbug73213.phpt10 $black = imagecolorallocate($im, 0, 0, 0);
13 imageline($im, 0,0, 32767,0, $black);
H A Dimagepolygon_aa.phpt11 $black = imagecolorallocate($im, 0, 0, 0);
15 imagepolygon($im, [10,10, 49,89, 89,49], $black);
H A Dimageopenpolygon_basic.phpt11 $black = imagecolorallocate($im, 0, 0, 0);
17 imageopenpolygon($im, [10,10, 49,89, 89,10], $black);
H A Dbug48732.phpt15 $black = imagecolorallocate($g, 0, 0, 0);
16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dbug48732-mb.phpt16 $black = imagecolorallocate($g, 0, 0, 0);
17 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
H A Dimagesetthickness_basic.phpt16 $black = imagecolorallocate($image, 0x00, 0x00, 0x00);
25 imagerectangle($image, 14, 14, 185, 85, $black);
H A Dimageloadfont_invalid.phpt15 $black = imagecolorallocate($image, 0, 0, 0);
16 imagestring($image, $font, 0, 0, "Hello", $black);
H A Dbug50194.phpt16 $black = imagecolorallocate($im, 0, 0, 0);
21 imagettftext($im, 40, 0, 10, 40, $black, $font, $text);
H A Dbug43073.phpt34 $black = imagecolorallocate($g, 0, 0, 0);
41 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF');
H A Dbug43121.phpt14 $black = ImageColorAllocate( $im, 0, 0, 0 );
H A Dimagefilltoborder_basic.phpt16 // 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.phpt14 $black = imagecolorallocatealpha($im, 0, 0, 0, 10);
108 imagefilledpolygon($im, $points, $black);
H A Dbug73281.phpt2 Bug #73281 (imagescale(…, IMG_BILINEAR_FIXED) can cause black border)
H A Dbug79676.phpt2 Bug #79676 (imagescale adds black border with IMG_BICUBIC)
H A Dimagepolygon_basic.phpt19 // set the background color to black
H A Dbug53504.phpt16 $black = imagecolorallocate($g, 0, 0, 0);
67 $test['x'], $test['y'], $black, $font, $test['text']);
/PHP-8.2/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-8.2/ext/standard/tests/array/
H A Darray_splice_basic.phpt35 var_dump (array_splice($input, -1, 1, array("black", "maroon")));
38 // "blue", "black", "maroon")
117 string(5) "black"

Completed in 25 milliseconds

12