Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Typedefs | Functions
ftcalc.c File Reference
#include <ft2build.h>

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_calc
 

Typedefs

typedef struct FT_Int64_ FT_Int64
 

Functions

 FT_RoundFix (FT_Fixed a)
 
 FT_CeilFix (FT_Fixed a)
 
 FT_FloorFix (FT_Fixed a)
 
 FT_MSB (FT_UInt32 z)
 
 FT_Hypot (FT_Fixed x, FT_Fixed y)
 
 FT_MulDiv (FT_Long a, FT_Long b, FT_Long c)
 
 FT_MulDiv_No_Round (FT_Long a, FT_Long b, FT_Long c)
 
 FT_MulFix (FT_Long a, FT_Long b)
 
 FT_DivFix (FT_Long a, FT_Long b)
 
 FT_Matrix_Multiply (const FT_Matrix *a, FT_Matrix *b)
 
 FT_Matrix_Invert (FT_Matrix *matrix)
 
 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_SqrtFixed (FT_Int32 x)
 
 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)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_calc

Definition at line 67 of file ftcalc.c.

Typedef Documentation

◆ FT_Int64

typedef struct FT_Int64_ FT_Int64

Function Documentation

◆ FT_CeilFix()

FT_CeilFix ( FT_Fixed  a)

Definition at line 86 of file ftcalc.c.

References FT_EXPORT_DEF.

◆ ft_corner_is_flat()

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

Definition at line 971 of file ftcalc.c.

References FT_Pos.

Referenced by af_glyph_hints_reload().

◆ ft_corner_orientation()

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

Definition at line 891 of file ftcalc.c.

◆ FT_DivFix()

FT_DivFix ( FT_Long  a,
FT_Long  b 
)

◆ FT_FloorFix()

FT_FloorFix ( FT_Fixed  a)

Definition at line 96 of file ftcalc.c.

References FT_BASE_DEF.

◆ FT_Hypot()

FT_Hypot ( FT_Fixed  x,
FT_Fixed  y 
)

◆ FT_Matrix_Invert()

FT_Matrix_Invert ( FT_Matrix matrix)

Definition at line 774 of file ftcalc.c.

References FT_BASE_DEF, FT_DivFix(), FT_Err_Ok, FT_MulFix(), FT_Pos, and FT_THROW().

◆ FT_Matrix_Multiply()

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 752 of file ftcalc.c.

References FT_EXPORT_DEF, and FT_MulFix().

◆ FT_Matrix_Multiply_Scaled()

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

Definition at line 805 of file ftcalc.c.

References FT_BASE_DEF, and FT_MulDiv().

Referenced by cff_face_init().

◆ FT_MSB()

FT_MSB ( FT_UInt32  z)

Definition at line 104 of file ftcalc.c.

References FT_BASE_DEF.

Referenced by FT_Outline_Get_Orientation().

◆ FT_MulDiv()

FT_MulDiv ( FT_Long  a,
FT_Long  b,
FT_Long  c 
)

◆ FT_MulDiv_No_Round()

FT_MulDiv_No_Round ( FT_Long  a,
FT_Long  b,
FT_Long  c 
)

Definition at line 450 of file ftcalc.c.

References FT_ABS.

Referenced by FT_Hypot().

◆ FT_MulFix()

FT_MulFix ( FT_Long  a,
FT_Long  b 
)

◆ FT_RoundFix()

FT_RoundFix ( FT_Fixed  a)

Definition at line 76 of file ftcalc.c.

References FT_EXPORT_DEF.

◆ FT_SqrtFixed()

FT_SqrtFixed ( FT_Int32  x)

Definition at line 856 of file ftcalc.c.

References FT_BASE_DEF, and root.

◆ FT_Vector_Transform_Scaled()

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

Definition at line 830 of file ftcalc.c.

References FT_BASE_DEF, FT_MulDiv(), and FT_Pos.

Referenced by cff_face_init().