Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/ext/gd/libgd/
H A Dgd_matrix.c197 int gdAffineRotate (double dst[6], const double angle) in gdAffineRotate() argument
199 const double sin_t = sin (angle * M_PI / 180.0); in gdAffineRotate()
200 const double cos_t = cos (angle * M_PI / 180.0); in gdAffineRotate()
222 int gdAffineShearHorizontal(double dst[6], const double angle) in gdAffineShearHorizontal() argument
226 dst[2] = tan(angle * M_PI / 180.0); in gdAffineShearHorizontal()
244 int gdAffineShearVertical(double dst[6], const double angle) in gdAffineShearVertical() argument
247 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-8.0/ext/xml/tests/
H A Dbug26528.phpt9 $sample = "<?xml version=\"1.0\"?><test attr=\"angle&lt;bracket\"/>";
28 string(13) "angle<bracket"
/PHP-8.0/ext/gd/
H A Dgd.stub.php56 function imagerotate(GdImage $image, float $angle, int $background_color, bool $ignore_transparent … argument
219 function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $optio… argument
221 function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string … argument
224 function imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $opti… argument
227 function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string… argument
H A Dgd.c3146 double ptsize, angle; in php_imagettftext_common() local
3152 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ddss|a", &ptsize, &angle, &fontname, &fontname_len, &s… in php_imagettftext_common()
3156 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oddlllss|a", &IM, gd_image_ce, &ptsize, &angle, &x, &y… in php_imagettftext_common()
3163 angle = angle * (M_PI/180); in php_imagettftext_common()
3194 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3196 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
3866 double angle; in PHP_FUNCTION() local
3868 angle = zval_get_double(options); in PHP_FUNCTION()
3871 res = gdAffineShearHorizontal(affine, angle); in PHP_FUNCTION()
3873 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
H A Dgd_arginfo.h123 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
467 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
478 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
/PHP-8.0/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-8.0/ext/standard/html_tables/
H A Dents_html5.txt624 angle 02220
/PHP-8.0/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます6229 # RotationAngle; Rotation angle of raster data
6231 # SkewAngle; Skew angle of raster data
H A Dmagic6229 # RotationAngle; Rotation angle of raster data
6231 # SkewAngle; Skew angle of raster data

Completed in 209 milliseconds