Home
last modified time | relevance | path

Searched refs:brect (Results 1 – 4 of 4) sorted by relevance

/PHP-8.2/ext/gd/libgd/
H A Dgdtestft.c34 int brect[8]; in main()
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s); in main()
68 x = MAXX (brect) - MINX (brect) + 6; in main()
69 y = MAXY (brect) - MINY (brect) + 6; in main()
84 x = 0 - MINX (brect) + 3; in main()
85 y = 0 - MINY (brect) + 3; in main()
H A Dgdft.c1095 if (brect) { /* only if need brect */
1150 if (!brect || angle != 0) {
1200 if (brect) { /* only if need brect */
1216 brect[0] = x + gdroundupdown(brect[0], d2 > 0);
1217 brect[1] = y - gdroundupdown(brect[1], d1 < 0);
1218 brect[2] = x + gdroundupdown(brect[2], d1 > 0);
1219 brect[3] = y - gdroundupdown(brect[3], d2 > 0);
1220 brect[4] = x + gdroundupdown(brect[4], d2 < 0);
1221 brect[5] = y - gdroundupdown(brect[5], d1 > 0);
1222 brect[6] = x + gdroundupdown(brect[6], d1 < 0);
[all …]
H A Dgd.h466 char *gdImageStringTTF(gdImage *im, int *brect, int fg, char *fontlist,
470 char *gdImageStringFT(gdImage *im, int *brect, int fg, char *fontlist,
497 gdImageStringFTEx(gdImage * im, int *brect, int fg, char * fontlist,
/PHP-8.2/ext/gd/
H A Dgd.c3072 int i, brect[8]; in php_imagettftext_common() local
3123 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3125 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
3137 add_next_index_long(return_value, brect[i]); in php_imagettftext_common()

Completed in 26 milliseconds