Home
last modified time | relevance | path

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

/PHP-8.3/ext/gd/tests/
H A Dbug53504.phpt22 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
27 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
30 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
31 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
34 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
54 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
66 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'],
81 $test['x'] + (int)($width * cos(deg2rad($test['angle']))),
[all …]
H A Dgh16559.phpt8 for ($angle = 0; $angle <= 270; $angle += 90) {
9 $output = imagerotate($input, $angle, 0);
H A Dbug43073.phpt2 Bug #43073 (TrueType bounding box is wrong for angle<>0)
40 for ($angle = 0.0, $i = 0; $angle < 360.0; $angle += $delta_t, $i++) {
41 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF');
H A Dgh10614.phpt17 for ($angle = 0; $angle <= 270; $angle += 90) {
18 echo "--- Angle $angle ---\n";
19 $output = imagerotate($input, $angle, 0);
H A Dgh16260.phpt21 imagerotate(): Argument #2 ($angle) must be between %s and %s
22 imagerotate(): Argument #2 ($angle) must be between %s and %s
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.3/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
821 double ptsize, double angle, int x, int y, char *string) argument
823 return gdImageStringFTEx(im, brect, fg, fontlist, ptsize, angle, x, y, string, 0);
837 double sin_a = sin (angle);
838 double cos_a = cos (angle);
1150 if (!brect || angle != 0) {
1202 double d1 = sin (angle + 0.78539816339744830962);
[all …]
H A Dgd.h467 double ptsize, double angle, int x, int y, char *string);
471 double ptsize, double angle, int x, int y, char *string);
498 double ptsize, double angle, int x, int y, char * string,
724 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
893 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
910 int gdAffineRotate (double dst[6], const double angle);
911 int gdAffineShearHorizontal (double dst[6], const double angle);
912 int gdAffineShearVertical(double dst[6], const double angle);
H A Dgd_interpolation.c1624 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1629 gdAffineRotate(m, angle); in gdRotatedImageSize()
2145 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor) in gdImageRotateInterpolated() argument
2150 const int angle_rounded = fmod((int) floorf(angle * 100), 360 * 100); in gdImageRotateInterpolated()
2197 return gdImageRotateNearestNeighbour(src, angle, bgcolor); in gdImageRotateInterpolated()
2201 return gdImageRotateBilinear(src, angle, bgcolor); in gdImageRotateInterpolated()
2205 return gdImageRotateBicubicFixed(src, angle, bgcolor); in gdImageRotateInterpolated()
2209 return gdImageRotateGeneric(src, angle, bgcolor); in gdImageRotateInterpolated()
/PHP-8.3/ext/xml/tests/
H A Dbug26528.phpt7 $sample = "<?xml version=\"1.0\"?><test attr=\"angle&lt;bracket\"/>";
26 string(13) "angle<bracket"
/PHP-8.3/ext/gd/
H A Dgd.stub.php534 function imagerotate(GdImage $image, float $angle, int $background_color): GdImage|false {} argument
733 function imageftbbox(float $size, float $angle, string $font_filename, string $string, array $optio… argument
739 function imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string … argument
745 function imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $opti… argument
751 function imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string… argument
H A Dgd.c3069 double ptsize, angle; in php_imagettftext_common() local
3075 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ddss|a", &ptsize, &angle, &fontname, &fontname_len, &s… in php_imagettftext_common()
3079 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oddlllss|a", &IM, gd_image_ce, &ptsize, &angle, &x, &y… in php_imagettftext_common()
3086 angle = angle * (M_PI/180); in php_imagettftext_common()
3119 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3121 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
3803 double angle; in PHP_FUNCTION() local
3805 angle = zval_get_double(options); in PHP_FUNCTION()
3808 res = gdAffineShearHorizontal(affine, angle); in PHP_FUNCTION()
3810 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
H A Dgd_arginfo.h123 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
481 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
492 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
/PHP-8.3/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.3/ext/standard/html_tables/
H A Dents_html5.txt624 angle 02220
/PHP-8.3/ext/fileinfo/tests/
H A Dmagic7381 # RotationAngle; Rotation angle of raster data
7383 # SkewAngle; Skew angle of raster data
H A Dmagic私はガラスを食べられます7381 # RotationAngle; Rotation angle of raster data
7383 # SkewAngle; Skew angle of raster data

Completed in 204 milliseconds