Home
last modified time | relevance | path

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

/php-src/ext/gd/tests/
H A Dbug53504.phpt25 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
30 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 110, 'text' => 'H-Shift', 'exp' => [8,2, 386,…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
34 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
35 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
36 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
37 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
57 $bbox = imageftbbox($test['fontSize'], $test['angle'], $font, $test['text']);
69 $bboxDrawn = imagefttext($g, $test['fontSize'], $test['angle'],
84 $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)
43 for ($angle = 0.0, $i = 0; $angle < 360.0; $angle += $delta_t, $i++) {
44 $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-src/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);
896 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor);
913 int gdAffineRotate (double dst[6], const double angle);
914 int gdAffineShearHorizontal (double dst[6], const double angle);
915 int gdAffineShearVertical(double dst[6], const double angle);
H A Dgd_interpolation.c1614 static int gdRotatedImageSize(gdImagePtr src, const float angle, gdRectPtr bbox) in gdRotatedImageSize() argument
1619 gdAffineRotate(m, angle); in gdRotatedImageSize()
2135 gdImagePtr gdImageRotateInterpolated(const gdImagePtr src, const float angle, int bgcolor) in gdImageRotateInterpolated() argument
2140 const int angle_rounded = fmod((int) floorf(angle * 100), 360 * 100); in gdImageRotateInterpolated()
2187 return gdImageRotateNearestNeighbour(src, angle, bgcolor); in gdImageRotateInterpolated()
2191 return gdImageRotateBilinear(src, angle, bgcolor); in gdImageRotateInterpolated()
2195 return gdImageRotateBicubicFixed(src, angle, bgcolor); in gdImageRotateInterpolated()
2199 return gdImageRotateGeneric(src, angle, bgcolor); in gdImageRotateInterpolated()
/php-src/ext/xml/tests/
H A Dbug26528.phpt7 $sample = "<?xml version=\"1.0\"?><test attr=\"angle&lt;bracket\"/>";
26 string(13) "angle<bracket"
/php-src/ext/dom/lexbor/lexbor/css/
H A Dvalue.h118 lxb_css_value_angle_t angle; member
127 lxb_css_value_angle_t angle; member
275 lxb_css_value_angle_sr(const lxb_css_value_angle_t *angle,
/php-src/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.c3340 double ptsize, angle; in php_imagettftext_common() local
3346 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ddss|a", &ptsize, &angle, &fontname, &fontname_len, &s… in php_imagettftext_common()
3350 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oddlllss|a", &IM, gd_image_ce, &ptsize, &angle, &x, &y… in php_imagettftext_common()
3357 angle = angle * (M_PI/180); in php_imagettftext_common()
3391 error = gdImageStringFTEx(im, brect, col, fontname, ptsize, angle, x, y, str, &strex); in php_imagettftext_common()
3393 error = gdImageStringFT(im, brect, col, fontname, ptsize, angle, x, y, str); in php_imagettftext_common()
4138 double angle; in PHP_FUNCTION() local
4140 angle = zval_get_double(options); in PHP_FUNCTION()
4143 res = gdAffineShearHorizontal(affine, angle); in PHP_FUNCTION()
4145 res = gdAffineShearVertical(affine, angle); in PHP_FUNCTION()
[all …]
H A Dgd_arginfo.h121 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
479 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
488 ZEND_ARG_TYPE_INFO(0, angle, IS_DOUBLE, 0)
/php-src/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-src/ext/standard/html_tables/
H A Dents_html5.txt624 angle 02220
/php-src/ext/fileinfo/tests/
H A Dmagic私はガラスを食べられます7381 # RotationAngle; Rotation angle of raster data
7383 # SkewAngle; Skew angle of raster data
H A Dmagic7381 # RotationAngle; Rotation angle of raster data
7383 # SkewAngle; Skew angle of raster data

Completed in 188 milliseconds