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

/PHP_TRUNK/ext/gd/libgd/
H A Dgdft.c819 double sin_a = sin (angle); local
905 matrix.yx = (FT_Fixed) (sin_a * (1 << 16));
969 x1 = (int)(- penf.y * sin_a + 32) / 64;
983 x1 = (int)(- penf.y * sin_a + 32) / 64;
1179 brect[0] = brect[2] = brect[4] = brect[6] = (int) (yd * sin_a);
1183 brect[0] += (int) (normbox.xMin * cos_a - normbox.yMin * sin_a);
1184 brect[1] += (int) (normbox.xMin * sin_a + normbox.yMin * cos_a);
1185 brect[2] += (int) (normbox.xMax * cos_a - normbox.yMin * sin_a);
1186 brect[3] += (int) (normbox.xMax * sin_a + normbox.yMin * cos_a);
1187 brect[4] += (int) (normbox.xMax * cos_a - normbox.yMax * sin_a);
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c4235 double angle = 0, sin_a = 0, cos_a = 0; local
4250 sin_a = sin(angle);
4259 #define new_x(a, b) (int) ((a) * cos_a - (b) * sin_a)
4260 #define new_y(a, b) (int) ((a) * sin_a + (b) * cos_a)

Completed in 12 milliseconds