ftcalc.c File Reference

#include <ft2build.h>

Go to the source code of this file.

Classes

struct  FT_Int64_

Defines

#define FT_COMPONENT   trace_calc

Typedefs

typedef FT_Int64_ FT_Int64

Functions

 FT_RoundFix (FT_Fixed a)
 FT_CeilFix (FT_Fixed a)
 FT_FloorFix (FT_Fixed a)
static void ft_multo64 (FT_UInt32 x, FT_UInt32 y, FT_Int64 *z)
static FT_UInt32 ft_div64by32 (FT_UInt32 hi, FT_UInt32 lo, FT_UInt32 y)
static void FT_Add64 (FT_Int64 *x, FT_Int64 *y, FT_Int64 *z)
 FT_MulDiv (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)


Define 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 hi, x, and y.

Referenced by FT_DivFix(), and FT_MulDiv().

FT_CeilFix ( FT_Fixed  a  ) 

Definition at line 89 of file ftcalc.c.

References RooFitShortHand::L().

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

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

References ft_multo64(), FT_Int64_::hi, FT_Int64_::lo, and result().

Referenced by af_glyph_hints_compute_inflections().

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

Definition at line 289 of file ftcalc.c.

References i, and RooFitShortHand::L().

Referenced by FT_DivFix(), and FT_MulDiv().

FT_DivFix ( FT_Long  a,
FT_Long  b 
)

Definition at line 536 of file ftcalc.c.

References FT_ABS, FT_Add64(), ft_div64by32(), FT_Int64_::hi, and FT_Int64_::lo.

Referenced by af_glyph_hints_align_strong_points(), af_latin2_hints_compute_edges(), af_latin_hints_compute_edges(), BBox_Cubic_Check(), cff_decoder_parse_charstrings(), cff_face_init(), cff_parse_fixed_dynamic(), cff_parse_real(), compute_glyph_metrics(), FT_Matrix_Invert(), FT_Outline_Embolden(), FT_Request_Metrics(), FT_Select_Metrics(), FT_Stroker_ConicTo(), FT_Stroker_CubicTo(), ft_stroker_inside(), ft_stroker_outside(), FT_Tan(), parse_font_matrix(), pfr_get_metrics(), PS_Conv_ToFixed(), psh_glyph_find_strong_points(), psh_glyph_interpolate_other_points(), t1_decoder_parse_charstrings(), t42_parse_font_matrix(), and tt_size_reset().

FT_FloorFix ( FT_Fixed  a  ) 

Definition at line 99 of file ftcalc.c.

References RooFitShortHand::L().

FT_Matrix_Invert ( FT_Matrix matrix  ) 

Definition at line 723 of file ftcalc.c.

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

Referenced by af_loader_load_g().

FT_Matrix_Multiply ( const FT_Matrix a,
FT_Matrix b 
)

Definition at line 701 of file ftcalc.c.

References FT_MulFix(), and xy.

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

Definition at line 754 of file ftcalc.c.

References FT_MulDiv(), RooFitShortHand::L(), and xy.

Referenced by cff_face_init().

FT_MulDiv ( FT_Long  a,
FT_Long  b,
FT_Long  c 
)

Definition at line 358 of file ftcalc.c.

References FT_ABS, FT_Add64(), ft_div64by32(), ft_multo64(), FT_Int64_::hi, RooFitShortHand::L(), and FT_Int64_::lo.

Referenced by _ft_face_scale_advances(), af_iup_interp(), af_latin2_metrics_scale_dim(), af_latin_metrics_scale_dim(), BBox_Conic_Check(), cff_face_init(), cff_size_request(), cff_slot_load(), FNT_Face_Init(), FT_Get_Kerning(), FT_Load_Glyph(), FT_Matrix_Multiply_Scaled(), FT_Outline_Get_Orientation(), FT_Request_Metrics(), ft_stroke_border_arcto(), FT_Vector_Transform_Scaled(), mm_axis_unmap(), pfr_get_kerning(), pfr_slot_load(), ps_hints_apply(), psh_glyph_interpolate_normal_points(), psh_glyph_interpolate_strong_points(), T1_Get_Track_Kerning(), T1_Set_MM_Design(), and tt_size_reset().

FT_MulFix ( FT_Long  a,
FT_Long  b 
)

Definition at line 435 of file ftcalc.c.

References FT_ABS, RooFitShortHand::L(), and x10000L.

Referenced by af_glyph_hints_align_strong_points(), af_glyph_hints_reload(), af_latin2_hints_compute_blue_edges(), af_latin2_hints_compute_edges(), af_latin2_metrics_scale_dim(), af_latin_hints_compute_blue_edges(), af_latin_hints_compute_edges(), af_latin_metrics_scale_dim(), af_loader_load_g(), BBox_Cubic_Check(), cff_decoder_parse_charstrings(), cff_slot_load(), cid_slot_load_glyph(), compute_glyph_metrics(), FT_Get_Kerning(), FT_GlyphSlot_Embolden(), FT_Matrix_Invert(), FT_Matrix_Multiply(), ft_recompute_scaled_metrics(), FT_Request_Metrics(), ft_stroker_inside(), ft_stroker_outside(), FT_Vector_Transform(), load_truetype_glyph(), pfr_glyph_load_rec(), pfr_slot_load(), ps_hints_apply(), psh_blues_scale_zones(), psh_globals_scale_widths(), psh_glyph_interpolate_normal_points(), psh_glyph_interpolate_other_points(), psh_glyph_interpolate_strong_points(), psh_hint_align(), t1_decoder_parse_charstrings(), T1_Load_Glyph(), T1_Set_MM_Blend(), test_cubic_extrema(), tt_loader_init(), TT_Process_Simple_Glyph(), and tt_size_reset().

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

Definition at line 257 of file ftcalc.c.

References hi.

Referenced by ft_corner_orientation(), and FT_MulDiv().

FT_RoundFix ( FT_Fixed  a  ) 

Definition at line 79 of file ftcalc.c.

References RooFitShortHand::L().

Referenced by cff_parse_font_bbox(), and ps_parser_load_field().

FT_SqrtFixed ( FT_Int32  x  ) 

Definition at line 805 of file ftcalc.c.

Referenced by BBox_Cubic_Check().

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

Definition at line 779 of file ftcalc.c.

References FT_MulDiv(), FT_Pos, and RooFitShortHand::L().

Referenced by cff_face_init().


Generated on Tue Jul 5 15:58:22 2011 for ROOT_528-00b_version by  doxygen 1.5.1