QtBase  v6.3.1
Classes | Macros | Typedefs | Functions
ftcalc.c File Reference
#include <freetype/ftglyph.h>
#include <freetype/fttrigon.h>
#include <freetype/internal/ftcalc.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftobjs.h>
Include dependency graph for ftcalc.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FT_Int64_
 

Macros

#define FT_COMPONENT   calc
 
#define FT_MOVE_SIGN(x, x_unsigned, s)
 

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_Matrix_Check (const FT_Matrix *matrix)
 
 FT_Vector_Transform_Scaled (FT_Vector *vector, const FT_Matrix *matrix, FT_Long scaling)
 
 FT_Vector_NormLen (FT_Vector *vector)
 
 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   calc

Definition at line 67 of file ftcalc.c.

◆ FT_MOVE_SIGN

#define FT_MOVE_SIGN (   x,
  x_unsigned,
  s 
)
Value:
if ( x < 0 ) \
{ \
x_unsigned = 0U - (x_unsigned); \
s = -s; \
} \
FT_END_STMNT
set set set set set set set macro pixldst1 abits if abits op else op endif endm macro pixldst2 abits if abits op else op endif endm macro pixldst4 abits if abits op else op endif endm macro pixldst0 abits op endm macro pixldst3 mem_operand op endm macro pixldst30 mem_operand op endm macro pixldst abits if abits elseif abits elseif abits elseif abits elseif abits pixldst0 abits else pixldst0 abits pixldst0 abits pixldst0 abits pixldst0 abits endif elseif abits else pixldst0 abits pixldst0 abits endif elseif abits else error unsupported bpp *numpix else pixst endif endm macro vuzp8 reg2 vuzp d d &reg2 endm macro vzip8 reg2 vzip d d &reg2 endm macro pixdeinterleave basereg basereg basereg basereg basereg endif endm macro pixinterleave basereg basereg basereg basereg basereg endif endm macro PF boost_increment endif if endif PF tst PF addne PF subne PF cmp ORIG_W if endif if endif if endif PF subge ORIG_W PF subges if endif if endif if endif endif endm macro cache_preload_simple endif if dst_r_bpp pld[DST_R, #(PREFETCH_DISTANCE_SIMPLE *dst_r_bpp/8)] endif if mask_bpp pld if[MASK, #(PREFETCH_DISTANCE_SIMPLE *mask_bpp/8)] endif endif endm macro ensure_destination_ptr_alignment process_pixblock_tail_head if beq irp skip1(dst_w_bpp<=(lowbit *8)) &&((lowbit *8)<(pixblock_size *dst_w_bpp)) .if lowbit< 16 tst DST_R
[3]
GLint GLint GLint GLint GLint x
[0]
GLdouble s
[6]
Definition: qopenglext.h:235

Definition at line 72 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 96 of file ftcalc.c.

◆ 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 1046 of file ftcalc.c.

Here is the caller graph for this function:

◆ 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 980 of file ftcalc.c.

◆ FT_DivFix()

FT_DivFix ( FT_Long  a_,
FT_Long  b_ 
)

Definition at line 607 of file ftcalc.c.

Here is the caller graph for this function:

◆ FT_FloorFix()

FT_FloorFix ( FT_Fixed  a)

Definition at line 105 of file ftcalc.c.

◆ FT_Hypot()

FT_Hypot ( FT_Fixed  x,
FT_Fixed  y 
)

Definition at line 154 of file ftcalc.c.

Here is the call graph for this function:

◆ FT_Matrix_Check()

FT_Matrix_Check ( const FT_Matrix matrix)

Definition at line 750 of file ftcalc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FT_Matrix_Invert()

FT_Matrix_Invert ( FT_Matrix matrix)

Definition at line 688 of file ftcalc.c.

Here is the call graph for this function:

◆ FT_Matrix_Multiply()

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 660 of file ftcalc.c.

Here is the call graph for this function:

◆ FT_Matrix_Multiply_Scaled()

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

Definition at line 719 of file ftcalc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FT_MSB()

FT_MSB ( FT_UInt32  z)

Definition at line 113 of file ftcalc.c.

Here is the caller graph for this function:

◆ FT_MulDiv()

FT_MulDiv ( FT_Long  a_,
FT_Long  b_,
FT_Long  c_ 
)

Definition at line 415 of file ftcalc.c.

Here is the caller graph for this function:

◆ FT_MulDiv_No_Round()

FT_MulDiv_No_Round ( FT_Long  a_,
FT_Long  b_,
FT_Long  c_ 
)

Definition at line 463 of file ftcalc.c.

◆ FT_MulFix()

FT_MulFix ( FT_Long  a_,
FT_Long  b_ 
)

Definition at line 508 of file ftcalc.c.

Here is the caller graph for this function:

◆ FT_RoundFix()

FT_RoundFix ( FT_Fixed  a)

Definition at line 87 of file ftcalc.c.

◆ FT_Vector_NormLen()

FT_Vector_NormLen ( FT_Vector vector)

Definition at line 845 of file ftcalc.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FT_Vector_Transform_Scaled()

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

Definition at line 820 of file ftcalc.c.

Here is the call graph for this function:
Here is the caller graph for this function: