Home
last modified time | relevance | path

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

/PHP-5.6/ext/gd/libgd/
H A Dgdft.c822 double cos_a = cos (angle); local
904 matrix.xx = (FT_Fixed) (cos_a * (1 << 16));
970 y1 = (int)(- penf.y * cos_a + 32) / 64;
984 y1 = (int)(- penf.y * cos_a + 32) / 64;
1074 pen.x += (int)(delta.x * cos_a);
1190 brect[0] = (int) (bbox.xMin * cos_a - bbox.yMin * sin_a);
1191 brect[1] = (int) (bbox.xMin * sin_a + bbox.yMin * cos_a);
1192 brect[2] = (int) (bbox.xMax * cos_a - bbox.yMin * sin_a);
1193 brect[3] = (int) (bbox.xMax * sin_a + bbox.yMin * cos_a);
1194 brect[4] = (int) (bbox.xMax * cos_a - bbox.yMax * sin_a);
[all …]
/PHP-5.6/ext/gd/
H A Dgd.c4313 double angle = 0, sin_a = 0, cos_a = 0; in PHP_FUNCTION() local
4329 cos_a = cos(angle); in PHP_FUNCTION()
4337 #define new_x(a, b) (int) ((a) * cos_a - (b) * sin_a) in PHP_FUNCTION()
4338 #define new_y(a, b) (int) ((a) * sin_a + (b) * cos_a) in PHP_FUNCTION()

Completed in 16 milliseconds