38#define FT_TRIG_SCALE 0xDBD95B16UL
42#define FT_TRIG_SAFE_MSB 29
45#define FT_TRIG_MAX_ITERS 23
50 1740967L, 919879L, 466945L, 234379L, 117304L, 58666L, 29335L,
51 14668L, 7334L, 3667L, 1833L, 917L, 458L, 229L, 115L,
52 57L, 29L, 14L, 7L, 4L, 2L, 1L
86 FT_UInt32 lo1, hi1, lo2, hi2, lo, hi, i1, i2;
95 lo1 = (FT_UInt32)
val & 0x0000FFFFU;
96 hi1 = (FT_UInt32)
val >> 16;
107 hi += (FT_UInt32)( i1 < i2 ) << 16;
121 hi += ( lo < 0x40000000UL );
198 xtemp =
x + ( (
y +
b ) >>
i );
199 y =
y - ( (
x +
b ) >>
i );
201 theta += *arctanptr++;
205 xtemp =
x - ( (
y +
b ) >>
i );
206 y =
y + ( (
x +
b ) >>
i );
208 theta -= *arctanptr++;
268 xtemp =
x + ( (
y +
b ) >>
i );
269 y =
y - ( (
x +
b ) >>
i );
271 theta += *arctanptr++;
275 xtemp =
x - ( (
y +
b ) >>
i );
276 y =
y + ( (
x +
b ) >>
i );
278 theta -= *arctanptr++;
345 if (
dx == 0 &&
dy == 0 )
389 if (
v.x == 0 &&
v.y == 0 )
399 FT_Int32 half = (FT_Int32)1L << (
shift - 1 );
467 if (
v.x == 0 &&
v.y == 0 )
FT_DivFix(FT_Long a, FT_Long b)
FT_BEGIN_HEADER typedef signed long FT_Pos
#define FT_PAD_ROUND(x, n)
FT_Vector_From_Polar(FT_Vector *vec, FT_Fixed length, FT_Angle angle)
FT_Vector_Polarize(FT_Vector *vec, FT_Fixed *length, FT_Angle *angle)
static const FT_Angle ft_trig_arctan_table[]
static FT_Fixed ft_trig_downscale(FT_Fixed val)
FT_Vector_Length(FT_Vector *vec)
FT_Vector_Unit(FT_Vector *vec, FT_Angle angle)
static void ft_trig_pseudo_rotate(FT_Vector *vec, FT_Angle theta)
FT_Angle_Diff(FT_Angle angle1, FT_Angle angle2)
static void ft_trig_pseudo_polarize(FT_Vector *vec)
FT_Atan2(FT_Fixed dx, FT_Fixed dy)
FT_Vector_Rotate(FT_Vector *vec, FT_Angle angle)
#define FT_TRIG_MAX_ITERS
static FT_Int ft_trig_prenorm(FT_Vector *vec)
FT_BEGIN_HEADER typedef FT_Fixed FT_Angle
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
GLboolean GLboolean GLboolean b
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i