Searched refs:bbox (Results 1 – 9 of 9) sorted by relevance
/PHP-8.2/ext/gd/tests/ |
H A D | bug48801.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 | bug48801-mb.phpt | 14 $bbox = imageftbbox(50, 0, $font, "image"); 15 echo '(' . $bbox[0] . ', ' . $bbox[1] . ")\n"; 16 echo '(' . $bbox[2] . ', ' . $bbox[3] . ")\n"; 17 echo '(' . $bbox[4] . ', ' . $bbox[5] . ")\n"; 18 echo '(' . $bbox[6] . ', ' . $bbox[7] . ")\n";
|
H A D | bug43073.phpt | 41 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF'); 42 imagepolygon($g, $bbox, $red); 45 if ($bbox[$j] >= $exp[$i][$j] - 1 && $bbox[$j] <= $exp[$i][$j] + 1) { 48 echo "(expected $exp[$i][$j], got $bbox[$j])";
|
H A D | bug48732.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 | bug48732-mb.phpt | 17 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n"); 19 echo 'Left Bottom: (' . $bbox[0] . ', ' . $bbox[1] . ')';
|
H A D | bug53504.phpt | 54 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']); 58 if ($bbox[$i] >= $exp - 2 && $bbox[$i] <= $exp + 2) { 61 echo "(expected $exp, got $bbox[$i])"; 70 for ($i = 0; $i < count($bbox); $i += 2) { 71 if ($bbox[$i] + $test['x'] !== $bboxDrawn[$i]) echo "imageftbbox and imagefttext differ!\n"; 72 …if ($bbox[$i + 1] + $test['y'] !== $bboxDrawn[$i + 1]) echo "imageftbbox and imagefttext differ!\n…
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gdft.c | 829 FT_BBox bbox, glyph_bbox; local 927 bbox.xMin = bbox.xMax = bbox.yMin = bbox.yMax = 0; 1125 bbox.xMin = glyph_bbox.xMin; 1206 brect[0] = (int) (bbox.xMin * cos_a - bbox.yMin * sin_a); 1207 brect[1] = (int) (bbox.xMin * sin_a + bbox.yMin * cos_a); 1208 brect[2] = (int) (bbox.xMax * cos_a - bbox.yMin * sin_a); 1209 brect[3] = (int) (bbox.xMax * sin_a + bbox.yMin * cos_a); 1210 brect[4] = (int) (bbox.xMax * cos_a - bbox.yMax * sin_a); 1211 brect[5] = (int) (bbox.xMax * sin_a + bbox.yMax * cos_a); 1212 brect[6] = (int) (bbox.xMin * cos_a - bbox.yMax * sin_a); [all …]
|
H A D | gd_interpolation.c | 1656 gdRect bbox; in gdImageRotateNearestNeighbour() local 1714 gdRect bbox; in gdImageRotateGeneric() local 1781 gdRect bbox; in gdImageRotateBilinear() local 1900 gdRect bbox; in gdImageRotateBicubicFixed() local 2264 gdRect bbox; in gdTransformAffineGetImage() local 2277 *dst = gdImageCreateTrueColor(bbox.width, bbox.height); in gdTransformAffineGetImage() 2288 gdAffineTranslate(m, -bbox.x, -bbox.y); in gdTransformAffineGetImage() 2335 gdRect bbox; in gdTransformAffineCopy() local 2373 end_x = bbox.width + abs(bbox.x); in gdTransformAffineCopy() 2374 end_y = bbox.height + abs(bbox.y); in gdTransformAffineCopy() [all …]
|
H A D | gd.h | 924 int gdTransformAffineBoundingBox(gdRectPtr src, const double affine[6], gdRectPtr bbox);
|
Completed in 26 milliseconds