Home
last modified time | relevance | path

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

/PHP-5.5/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.c1121 if (brect) { /* only if need brect */
1134 brect[0] = brect[2] = brect[4] = brect[6] = (int) (yd * sin_a);
1135 brect[1] = brect[3] = brect[5] = brect[7] = (int)(- yd * cos_a);
1148 brect[0] = xb + gdroundupdown(brect[0], d2 > 0);
1149 brect[1] = yb - gdroundupdown(brect[1], d1 < 0);
1150 brect[2] = xb + gdroundupdown(brect[2], d1 > 0);
1151 brect[3] = yb - gdroundupdown(brect[3], d2 > 0);
1152 brect[4] = xb + gdroundupdown(brect[4], d2 < 0);
1153 brect[5] = yb - gdroundupdown(brect[5], d1 > 0);
1154 brect[6] = xb + gdroundupdown(brect[6], d1 < 0);
[all …]
H A Dgd.h463 char *gdImageStringTTF(gdImage *im, int *brect, int fg, char *fontlist,
467 char *gdImageStringFT(gdImage *im, int *brect, int fg, char *fontlist,
493 gdImageStringFTEx(gdImage * im, int *brect, int fg, char * fontlist,
/PHP-5.5/ext/gd/
H A Dgd.c3807 int str_len, fontname_len, i, brect[8]; in php_imagettftext_common() local
3873 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3876 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
3889 add_next_index_long(return_value, brect[i]); in php_imagettftext_common()

Completed in 54 milliseconds