Home
last modified time | relevance | path

Searched refs:sin_a (Results 1 – 2 of 2) sorted by relevance

/PHP-5.5/ext/gd/libgd/
H A Dgdft.c785 double sin_a = sin (angle); local
862 matrix.yx = (FT_Fixed) (sin_a * (1 << 16));
932 x1 = (int)(- penf.y * sin_a + 32) / 64;
946 x1 = (int)(- penf.y * sin_a + 32) / 64;
1134 brect[0] = brect[2] = brect[4] = brect[6] = (int) (yd * sin_a);
1138 brect[0] += (int) (normbox.xMin * cos_a - normbox.yMin * sin_a);
1139 brect[1] += (int) (normbox.xMin * sin_a + normbox.yMin * cos_a);
1140 brect[2] += (int) (normbox.xMax * cos_a - normbox.yMin * sin_a);
1141 brect[3] += (int) (normbox.xMax * sin_a + normbox.yMin * cos_a);
1142 brect[4] += (int) (normbox.xMax * cos_a - normbox.yMax * sin_a);
[all …]
/PHP-5.5/ext/gd/
H A Dgd.c4262 double angle = 0, sin_a = 0, cos_a = 0; in PHP_FUNCTION() local
4277 sin_a = sin(angle); in PHP_FUNCTION()
4286 #define new_x(a, b) (int) ((a) * cos_a - (b) * sin_a) in PHP_FUNCTION()
4287 #define new_y(a, b) (int) ((a) * sin_a + (b) * cos_a) in PHP_FUNCTION()

Completed in 36 milliseconds