Searched refs:bbox (Results 1 – 9 of 9) sorted by relevance
/PHP-8.0/ext/gd/tests/ |
H A D | bug48801.phpt | 12 $bbox = imageftbbox(50, 0, $font, "image"); 13 echo '(' . $bbox[0] . ', ' . $bbox[1] . ")\n"; 14 echo '(' . $bbox[2] . ', ' . $bbox[3] . ")\n"; 15 echo '(' . $bbox[4] . ', ' . $bbox[5] . ")\n"; 16 echo '(' . $bbox[6] . ', ' . $bbox[7] . ")\n";
|
H A D | bug48801-mb.phpt | 13 $bbox = imageftbbox(50, 0, $font, "image"); 14 echo '(' . $bbox[0] . ', ' . $bbox[1] . ")\n"; 15 echo '(' . $bbox[2] . ', ' . $bbox[3] . ")\n"; 16 echo '(' . $bbox[4] . ', ' . $bbox[5] . ")\n"; 17 echo '(' . $bbox[6] . ', ' . $bbox[7] . ")\n";
|
H A D | bug43073.phpt | 40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF'); 41 imagepolygon($g, $bbox, $red); 44 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) { 47 echo "(expected $exp[$i][$j], got $bbox[$j])";
|
H A D | bug48732.phpt | 15 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n"); 17 echo 'Left Bottom: (' . $bbox[0] . ', ' . $bbox[1] . ')';
|
H A D | bug48732-mb.phpt | 16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n"); 18 echo 'Left Bottom: (' . $bbox[0] . ', ' . $bbox[1] . ')';
|
H A D | bug53504.phpt | 53 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']); 57 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) { 60 echo "(expected $exp, got $bbox[$i])"; 69 for ($i = 0; $i < count($bbox); $i += 2) { 70 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n"; 71 …if ($bbox[$i + 1] + $test['y'] !== $bboxDrawn[$i + 1]) echo "imageftbbox and imagefttext differ!\n…
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gdft.c | 819 FT_BBox bbox, glyph_bbox; local 917 bbox.xMin = bbox.xMax = bbox.yMin = bbox.yMax = 0; 1115 bbox.xMin = glyph_bbox.xMin; 1196 brect[0] = (int) (bbox.xMin * cos_a - bbox.yMin * sin_a); 1197 brect[1] = (int) (bbox.xMin * sin_a + bbox.yMin * cos_a); 1198 brect[2] = (int) (bbox.xMax * cos_a - bbox.yMin * sin_a); 1199 brect[3] = (int) (bbox.xMax * sin_a + bbox.yMin * cos_a); 1200 brect[4] = (int) (bbox.xMax * cos_a - bbox.yMax * sin_a); 1201 brect[5] = (int) (bbox.xMax * sin_a + bbox.yMax * cos_a); 1202 brect[6] = (int) (bbox.xMin * cos_a - bbox.yMax * sin_a); [all …]
|
H A D | gd_interpolation.c | 1627 gdRect bbox; in gdImageRotateNearestNeighbour() local 1685 gdRect bbox; in gdImageRotateGeneric() local 1752 gdRect bbox; in gdImageRotateBilinear() local 1871 gdRect bbox; in gdImageRotateBicubicFixed() local 2235 gdRect bbox; in gdTransformAffineGetImage() local 2248 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage() 2259 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage() 2306 gdRect bbox; in gdTransformAffineCopy() local 2344 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy() 2345 end_y = bbox.height + abs(bbox.y); in gdTransformAffineCopy() [all …]
|
H A D | gd.h | 901 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
|
Completed in 24 milliseconds