Home
last modified time | relevance | path

Searched refs:angle (Results 1 – 18 of 18) sorted by relevance

/PHP-7.4/ext/gd/tests/
H A Dbug53504.phpt21 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
26 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
29 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
30 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
31 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
53 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
65 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'],
80 $test['x'] + $width * cos(deg2rad($test['angle'])),
[all …]
H A Dbug43073.phpt2 Bug #43073 (TrueType bounding box is wrong for angle<>0)
39 for ($angle = 0.0, $i = 0; $angle < 360.0; $angle += $delta_t, $i++) {
40 $bbox = imagettftext($g, 24, $angle, 400+$x, 400+$y, $black, $font, 'ABCDEF');
H A Dimagearc_variation1.phpt2 Testing passing negative end angle to imagearc() of GD library
H A Dimagearc_variation2.phpt2 Testing passing negative start angle to imagearc() of GD library
H A Dimagefilledarc_variation1.phpt2 Testing passing negative end angle to imagefilledarc() of GD library
H A Dimagefilledarc_variation2.phpt2 Testing passing negative start angle to imagefilledarc() of GD library
/PHP-7.4/ext/gd/libgd/
H A Dgd_matrix.c199 int gdAffineRotate (double dst[6], const double angle) in gdAffineRotate() argument
201 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
202 const double cos_t = cos (angle * M_PI / 180.0); in gdAffineRotate()
224 int gdAffineShearHorizontal(double dst[6], const double angle) in gdAffineShearHorizontal() argument
228 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
246 int gdAffineShearVertical(double dst[6], const double angle) in gdAffineShearVertical() argument
249 dst[1] = tan(angle * M_PI / 180.0); in gdAffineShearVertical()
H A Dgdtestft.c47 double angle = 0.; in main()
49 double angle = DEG2RAD (-90); in main()
60 err = gdImageStringFT ((gdImagePtr) NULL, &brect[0], 0, f, sz, angle, 0, 0, s); in main()
87 err = gdImageStringFT (im, NULL, black, f, sz, angle, x, y, s); in main()
H A Dgdft.c40 double ptsize, double angle, int x, int y, char *string) in gdImageStringTTF() argument
43 return gdImageStringFT (im, brect, fg, fontlist, ptsize, angle, x, y, string); in gdImageStringTTF()
49 double ptsize, double angle, int x, int y, char *string, in gdImageStringFTEx() argument
57 double ptsize, double angle, int x, int y, char *string) in gdImageStringFT() argument
811 double ptsize, double angle, int x, int y, char *string) argument
813 return gdImageStringFTEx(im, brect, fg, fontlist, ptsize, angle, x, y, string, 0);
827 double sin_a = sin (angle);
828 double cos_a = cos (angle);
1140 if (!brect || angle != 0) {
1192 double d1 = sin (angle + 0.78539816339744830962);
[all …]
H A Dgd.h463 double ptsize, double angle, int x, int y, char *string);
467 double ptsize, double angle, int x, int y, char *string);
494 double ptsize, double angle, int x, int y, char * string,
701 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
870 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
887 int gdAffineRotate (double dst[6], const double angle);
888 int gdAffineShearHorizontal (double dst[6], const double angle);
889 int gdAffineShearVertical(double dst[6], const double angle);
H A Dgd_interpolation.c1595 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1600 gdAffineRotate(m, angle); in gdRotatedImageSize()
2116 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor) in gdImageRotateInterpolated() argument
2121 const int angle_rounded = fmod((int) floorf(angle * 100), 360 * 100); in gdImageRotateInterpolated()
2168 return gdImageRotateNearestNeighbour(src, angle, bgcolor); in gdImageRotateInterpolated()
2172 return gdImageRotateBilinear(src, angle, bgcolor); in gdImageRotateInterpolated()
2176 return gdImageRotateBicubicFixed(src, angle, bgcolor); in gdImageRotateInterpolated()
2180 return gdImageRotateGeneric(src, angle, bgcolor); in gdImageRotateInterpolated()
/PHP-7.4/ext/xml/tests/
H A Dbug26528.phpt9 $sample = "<?xml version=\"1.0\"?><test attr=\"angle&lt;bracket\"/>";
28 string(13) "angle<bracket"
/PHP-7.4/ext/gd/
H A Dgd.c282 ZEND_ARG_INFO(0, angle)
738 ZEND_ARG_INFO(0, angle)
747 ZEND_ARG_INFO(0, angle)
758 ZEND_ARG_INFO(0, angle)
766 ZEND_ARG_INFO(0, angle)
4070 double ptsize, angle; in php_imagettftext_common() local
4094 angle = angle * (M_PI/180); in php_imagettftext_common()
5061 double angle; in PHP_FUNCTION() local
5068 angle = zval_get_double(options); in PHP_FUNCTION()
5073 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/standard/tests/math/
H A Dhypot_basic.phpt9 * Description: Calculate the length of the hypotenuse of a right-angle triangle.
/PHP-7.4/ext/standard/tests/strings/
H A Dget_html_translation_table_basic5.phpt491 [∠] => &angle;
H A Dhtml_entity_decode_html5.phpt629 "&angle;",
2763 &angle; => ∠ e288a0
H A Dhtmlentities_html5.phpt732 &angle; U+02220
/PHP-7.4/ext/standard/html_tables/
H A Dents_html5.txt624 angle 02220

Completed in 119 milliseconds