zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ftcalc.c File Reference
#include <ft2build.h>
#include <FT_GLYPH_H>
#include <FT_INTERNAL_CALC_H>
#include <FT_INTERNAL_DEBUG_H>
#include <FT_INTERNAL_OBJECTS_H>

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_calc
 

Typedefs

typedef struct FT_Int64_ FT_Int64
 

Functions

static void FT_Add64 (FT_Int64 *x, FT_Int64 *y, FT_Int64 *z)
 
 FT_CeilFix (FT_Fixed a)
 
 ft_corner_is_flat (FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y)
 
 ft_corner_orientation (FT_Pos in_x, FT_Pos in_y, FT_Pos out_x, FT_Pos out_y)
 
static FT_UInt32 ft_div64by32 (FT_UInt32 hi, FT_UInt32 lo, FT_UInt32 y)
 
 FT_DivFix (FT_Long a, FT_Long b)
 
 FT_FloorFix (FT_Fixed a)
 
 FT_Matrix_Invert (FT_Matrix *matrix)
 
 FT_Matrix_Multiply (const FT_Matrix *a, FT_Matrix *b)
 
 FT_Matrix_Multiply_Scaled (const FT_Matrix *a, FT_Matrix *b, FT_Long scaling)
 
 FT_MulDiv (FT_Long a, FT_Long b, FT_Long c)
 
 FT_MulFix (FT_Long a, FT_Long b)
 
static void ft_multo64 (FT_UInt32 x, FT_UInt32 y, FT_Int64 *z)
 
 FT_RoundFix (FT_Fixed a)
 
 FT_SqrtFixed (FT_Int32 x)
 
 FT_Vector_Transform_Scaled (FT_Vector *vector, const FT_Matrix *matrix, FT_Long scaling)
 

Macro Definition Documentation

#define FT_COMPONENT   trace_calc

Definition at line 70 of file ftcalc.c.

Typedef Documentation

typedef struct FT_Int64_ FT_Int64

Function Documentation

static void FT_Add64 ( FT_Int64 x,
FT_Int64 y,
FT_Int64 z 
)
static

Definition at line 323 of file ftcalc.c.

References cordic::hi, and cordic::lo.

Referenced by FT_DivFix(), and FT_MulDiv().

FT_CeilFix ( FT_Fixed  a)

Definition at line 89 of file ftcalc.c.

ft_corner_is_flat ( FT_Pos  in_x,
FT_Pos  in_y,
FT_Pos  out_x,
FT_Pos  out_y 
)

Definition at line 921 of file ftcalc.c.

References FT_Pos.

Referenced by af_glyph_hints_reload().

ft_corner_orientation ( FT_Pos  in_x,
FT_Pos  in_y,
FT_Pos  out_x,
FT_Pos  out_y 
)

Definition at line 841 of file ftcalc.c.

References ft_multo64().

static FT_UInt32 ft_div64by32 ( FT_UInt32  hi,
FT_UInt32  lo,
FT_UInt32  y 
)
static

Definition at line 289 of file ftcalc.c.

References cordic::hi, and i.

Referenced by FT_DivFix(), and FT_MulDiv().

FT_FloorFix ( FT_Fixed  a)

Definition at line 99 of file ftcalc.c.

FT_Matrix_Invert ( FT_Matrix matrix)

Definition at line 724 of file ftcalc.c.

References FT_DivFix(), FT_Err_Invalid_Argument, FT_Err_Ok, FT_MulFix(), and FT_Pos.

Referenced by af_loader_load_g().

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 702 of file ftcalc.c.

References FT_MulFix().

FT_Matrix_Multiply_Scaled ( const FT_Matrix a,
FT_Matrix b,
FT_Long  scaling 
)

Definition at line 755 of file ftcalc.c.

References FT_MulDiv().

Referenced by cff_face_init().

static void ft_multo64 ( FT_UInt32  x,
FT_UInt32  y,
FT_Int64 z 
)
static

Definition at line 257 of file ftcalc.c.

References cordic::hi, i1, i2, and cordic::lo.

Referenced by ft_corner_orientation(), and FT_MulDiv().

FT_RoundFix ( FT_Fixed  a)

Definition at line 79 of file ftcalc.c.

Referenced by cff_parse_font_bbox(), and ps_parser_load_field().

FT_SqrtFixed ( FT_Int32  x)

Definition at line 806 of file ftcalc.c.

Referenced by BBox_Cubic_Check(), and TT_Process_Composite_Component().

FT_Vector_Transform_Scaled ( FT_Vector vector,
const FT_Matrix matrix,
FT_Long  scaling 
)

Definition at line 780 of file ftcalc.c.

References FT_MulDiv(), and FT_Pos.

Referenced by cff_face_init().