Home
last modified time | relevance | path

Searched refs:FT_PIX_FLOOR (Results 1 – 11 of 11) sorted by relevance

/external/freetype/include/freetype/internal/
Dftobjs.h91 #define FT_PIX_FLOOR( x ) ( (x) & ~FT_TYPEOF( x )63 ) macro
92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 )
93 #define FT_PIX_CEIL( x ) FT_PIX_FLOOR( (x) + 63 )
101 #define FT_PIX_ROUND_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 32 ) )
102 #define FT_PIX_CEIL_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 63 ) )
108 #define FT_PIX_ROUND_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 32 ) )
109 #define FT_PIX_CEIL_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 63 ) )
/external/freetype/src/autofit/
Dafloader.c534 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); in af_loader_load_glyph()
535 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); in af_loader_load_glyph()
544 slot->metrics.vertBearingX = FT_PIX_FLOOR( bbox.xMin + vvector.x ); in af_loader_load_glyph()
545 slot->metrics.vertBearingY = FT_PIX_FLOOR( bbox.yMax + vvector.y ); in af_loader_load_glyph()
Dafcjk.c1723 d_off1 = cur_pos1 - FT_PIX_FLOOR( cur_pos1 ); in af_hint_normal_stem()
1724 d_off2 = cur_pos2 - FT_PIX_FLOOR( cur_pos2 ); in af_hint_normal_stem()
Daflatin2.c2069 if ( FT_PIX_FLOOR( org_left ) == FT_PIX_CEIL( org_right ) ) in af_latin2_hint_edges()
/external/freetype/src/base/
Dftbitmap.c851 source_offset.x = FT_PIX_FLOOR( source_offset_.x ); in FT_Bitmap_Blend()
854 source_offset.y = FT_PIX_FLOOR( source_offset_.y ); in FT_Bitmap_Blend()
858 target_offset.x = FT_PIX_FLOOR( atarget_offset->x ); in FT_Bitmap_Blend()
859 target_offset.y = FT_PIX_FLOOR( atarget_offset->y ); in FT_Bitmap_Blend()
Dftglyph.c514 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
515 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox()
Dftobjs.c425 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_glyphslot_preset_bitmap()
426 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_glyphslot_preset_bitmap()
722 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); in ft_glyphslot_grid_fit_metrics()
730 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
731 metrics->vertBearingY = FT_PIX_FLOOR( metrics->vertBearingY ); in ft_glyphslot_grid_fit_metrics()
740 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
741 metrics->vertBearingY = FT_PIX_FLOOR( metrics->vertBearingY ); in ft_glyphslot_grid_fit_metrics()
745 bottom = FT_PIX_FLOOR( SUB_LONG( metrics->horiBearingY, in ft_glyphslot_grid_fit_metrics()
748 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); in ft_glyphslot_grid_fit_metrics()
2981 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
/external/freetype/src/pshinter/
Dpshalgo.c557 pos = FT_PIX_FLOOR( pos + ( len >> 1 ) ); in psh_hint_align()
639 pos = FT_PIX_FLOOR( pos + ( len >> 1 ) ) + 32; in psh_hint_align()
795 delta_a = FT_PIX_FLOOR( center ) + 32 - center;
801 delta_b = FT_PIX_FLOOR( center ) + 32 - center;
/external/freetype/src/truetype/
Dttinterp.c2023 val = ADD_LONG( FT_PIX_FLOOR( ADD_LONG( distance, compensation ) ), in Round_To_Half_Grid()
2030 val = NEG_LONG( ADD_LONG( FT_PIX_FLOOR( SUB_LONG( compensation, in Round_To_Half_Grid()
2071 val = FT_PIX_FLOOR( ADD_LONG( distance, compensation ) ); in Round_Down_To_Grid()
2077 val = NEG_LONG( FT_PIX_FLOOR( SUB_LONG( compensation, distance ) ) ); in Round_Down_To_Grid()
3007 args[0] = FT_PIX_FLOOR( args[0] ); in Ins_FLOOR()
/external/freetype/
DChangeLog.264629 * include/internal/ftobjs.h (FT_PAD_FLOOR, FT_PIX_FLOOR),
5085 * include/internal/ftobjs.h (FT_PAD_FLOOR, FT_PIX_FLOOR),
DChangeLog.213496 FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_PIX_CEIL): New macros.