Home
last modified time | relevance | path

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

/PHP-7.4/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.c1085 if (brect) { /* only if need brect */
1140 if (!brect || angle != 0) {
1190 if (brect) { /* only if need brect */
1206 brect[0] = x + gdroundupdown(brect[0], d2 > 0);
1207 brect[1] = y - gdroundupdown(brect[1], d1 < 0);
1208 brect[2] = x + gdroundupdown(brect[2], d1 > 0);
1209 brect[3] = y - gdroundupdown(brect[3], d2 > 0);
1210 brect[4] = x + gdroundupdown(brect[4], d2 < 0);
1211 brect[5] = y - gdroundupdown(brect[5], d1 > 0);
1212 brect[6] = x + gdroundupdown(brect[6], d1 < 0);
[all …]
H A Dgd.h462 char *gdImageStringTTF(gdImage *im, int *brect, int fg, char *fontlist,
466 char *gdImageStringFT(gdImage *im, int *brect, int fg, char *fontlist,
493 gdImageStringFTEx(gdImage * im, int *brect, int fg, char * fontlist,
/PHP-7.4/ext/gd/
H A Dgd.c4069 int i, brect[8]; in php_imagettftext_common() local
4125 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
4127 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
4139 add_next_index_long(return_value, brect[i]); in php_imagettftext_common()

Completed in 32 milliseconds