Home
last modified time | relevance | path

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

/external/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_FLOOR( x ) ( (x) & ~FT_TYPEOF( x )63 ) macro
93 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 )
94 #define FT_PIX_CEIL( x ) FT_PIX_FLOOR( (x) + 63 )
102 #define FT_PIX_ROUND_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 32 ) )
103 #define FT_PIX_CEIL_LONG( x ) FT_PIX_FLOOR( ADD_LONG( (x), 63 ) )
109 #define FT_PIX_ROUND_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 32 ) )
110 #define FT_PIX_CEIL_INT32( x ) FT_PIX_FLOOR( ADD_INT32( (x), 63 ) )
/external/freetype/src/autofit/
Dafloader.c540 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); in af_loader_load_glyph()
541 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); in af_loader_load_glyph()
550 slot->metrics.vertBearingX = FT_PIX_FLOOR( bbox.xMin + vvector.x ); in af_loader_load_glyph()
551 slot->metrics.vertBearingY = FT_PIX_FLOOR( bbox.yMax + vvector.y ); in af_loader_load_glyph()
Dafcjk.c1699 d_off1 = cur_pos1 - FT_PIX_FLOOR( cur_pos1 ); in af_hint_normal_stem()
1700 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/
Dftobjs.c377 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_glyphslot_preset_bitmap()
388 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_glyphslot_preset_bitmap()
397 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_glyphslot_preset_bitmap()
398 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_glyphslot_preset_bitmap()
419 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_glyphslot_preset_bitmap()
420 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_glyphslot_preset_bitmap()
716 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); in ft_glyphslot_grid_fit_metrics()
724 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
725 metrics->vertBearingY = FT_PIX_FLOOR( metrics->vertBearingY ); in ft_glyphslot_grid_fit_metrics()
734 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
[all …]
Dftglyph.c506 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
507 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox()
/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.c1984 val = ADD_LONG( FT_PIX_FLOOR( ADD_LONG( distance, compensation ) ), in Round_To_Half_Grid()
1991 val = NEG_LONG( ADD_LONG( FT_PIX_FLOOR( SUB_LONG( compensation, in Round_To_Half_Grid()
2030 val = FT_PIX_FLOOR( ADD_LONG( distance, compensation ) ); in Round_Down_To_Grid()
2036 val = NEG_LONG( FT_PIX_FLOOR( SUB_LONG( compensation, distance ) ) ); in Round_Down_To_Grid()
2944 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.