Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | FT_ANGLE_PI ( 180L << 16 ) |
#define | FT_ANGLE_2PI ( FT_ANGLE_PI * 2 ) |
#define | FT_ANGLE_PI2 ( FT_ANGLE_PI / 2 ) |
#define | FT_ANGLE_PI4 ( FT_ANGLE_PI / 4 ) |
Functions | |
FT_Sin (FT_Angle angle) | |
FT_Cos (FT_Angle angle) | |
FT_Tan (FT_Angle angle) | |
FT_Atan2 (FT_Fixed x, FT_Fixed y) | |
FT_Angle_Diff (FT_Angle angle1, FT_Angle angle2) | |
FT_Vector_Unit (FT_Vector *vec, FT_Angle angle) | |
FT_Vector_Rotate (FT_Vector *vec, FT_Angle angle) | |
FT_Vector_Length (FT_Vector *vec) | |
FT_Vector_Polarize (FT_Vector *vec, FT_Fixed *length, FT_Angle *angle) | |
FT_Vector_From_Polar (FT_Vector *vec, FT_Fixed length, FT_Angle angle) | |
Variables | |
FT_BEGIN_HEADER typedef FT_Fixed | FT_Angle |
#define FT_ANGLE_2PI ( FT_ANGLE_PI * 2 ) |
Definition at line 76 of file fttrigon.h.
Referenced by FT_Angle_Diff().
#define FT_ANGLE_PI ( 180L << 16 ) |
Definition at line 64 of file fttrigon.h.
Referenced by FT_Angle_Diff().
#define FT_ANGLE_PI2 ( FT_ANGLE_PI / 2 ) |
Definition at line 88 of file fttrigon.h.
Referenced by FT_Sin(), and FT_Stroker_LineTo().
#define FT_ANGLE_PI4 ( FT_ANGLE_PI / 4 ) |
Definition at line 100 of file fttrigon.h.
Definition at line 475 of file fttrigon.c.
References cordic::angle2, FT_Angle, FT_ANGLE_2PI, and FT_ANGLE_PI.
Definition at line 319 of file fttrigon.c.
References FT_Vector_::x, and FT_Vector_::y.
Referenced by FT_Outline_Transform(), and FT_Stroker_LineTo().
FT_Cos | ( | FT_Angle | angle | ) |
Definition at line 278 of file fttrigon.c.
References FT_TRIG_SCALE, FT_Vector_::x, and FT_Vector_::y.
Referenced by FT_Sin().
FT_Sin | ( | FT_Angle | angle | ) |
Definition at line 294 of file fttrigon.c.
References FT_ANGLE_PI2, FT_Cos(), and FT_EXPORT_DEF.
FT_Tan | ( | FT_Angle | angle | ) |
Definition at line 303 of file fttrigon.c.
References FT_TRIG_SCALE, FT_Vector_::x, and FT_Vector_::y.
Definition at line 461 of file fttrigon.c.
References FT_Angle, FT_EXPORT_DEF, FT_Vector_Rotate(), FT_Vector_::x, and FT_Vector_::y.
Referenced by FT_Stroker_LineTo().
FT_Vector_Length | ( | FT_Vector * | vec | ) |
Definition at line 400 of file fttrigon.c.
References FT_ABS, vec, FT_Vector_::x, and FT_Vector_::y.
Referenced by FT_Hypot(), FT_Outline_EmboldenXY(), and FT_Stroker_LineTo().
Definition at line 434 of file fttrigon.c.
References vec, FT_Vector_::x, and FT_Vector_::y.
Definition at line 362 of file fttrigon.c.
References FT_Vector_::x, and FT_Vector_::y.
Referenced by FT_Vector_From_Polar().
Definition at line 340 of file fttrigon.c.
References FT_TRIG_SCALE, FT_Vector_::x, and FT_Vector_::y.
FT_BEGIN_HEADER typedef FT_Fixed FT_Angle |
Definition at line 52 of file fttrigon.h.
Referenced by FT_Angle_Diff(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), FT_Stroker_LineTo(), and FT_Vector_From_Polar().
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:54.
© Copyright Michele Bosi. All rights reserved.