ftcalc.h File Reference
#include <ft2build.h>
Go to the source code of this file.
Defines |
| #define | INT_TO_F26DOT6(x) ( (FT_Long)(x) << 6 ) |
| #define | INT_TO_F2DOT14(x) ( (FT_Long)(x) << 14 ) |
| #define | INT_TO_FIXED(x) ( (FT_Long)(x) << 16 ) |
| #define | F2DOT14_TO_FIXED(x) ( (FT_Long)(x) << 2 ) |
| #define | FLOAT_TO_FIXED(x) ( (FT_Long)( x * 65536.0 ) ) |
| #define | FIXED_TO_INT(x) ( FT_RoundFix( x ) >> 16 ) |
| #define | ROUND_F26DOT6(x) |
Functions |
| FT_BEGIN_HEADER | FT_SqrtFixed (FT_Int32 x) |
| | FT_Matrix_Multiply_Scaled (const FT_Matrix *a, FT_Matrix *b, FT_Long scaling) |
| | FT_Vector_Transform_Scaled (FT_Vector *vector, const FT_Matrix *matrix, FT_Long scaling) |
| | ft_corner_orientation (FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y) |
| | ft_corner_is_flat (FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y) |