Home
last modified time | relevance | path

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

/external/freetype/src/raster/
Dftrend1.c171 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_raster1_render()
172 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_raster1_render()
/external/freetype/src/autofit/
Dafloader.c413 bbox.xMin = FT_PIX_FLOOR( bbox.xMin ); in af_loader_load_g()
414 bbox.yMin = FT_PIX_FLOOR( bbox.yMin ); in af_loader_load_g()
423 slot->metrics.vertBearingX = FT_PIX_FLOOR( bbox.xMin + vvector.x ); in af_loader_load_g()
424 slot->metrics.vertBearingY = FT_PIX_FLOOR( bbox.yMax + vvector.y ); in af_loader_load_g()
Dafcjk.c1583 d_off1 = cur_pos1 - FT_PIX_FLOOR( cur_pos1 ); in af_hint_normal_stem()
1584 d_off2 = cur_pos2 - FT_PIX_FLOOR( cur_pos2 ); in af_hint_normal_stem()
Daflatin2.c2016 if ( FT_PIX_FLOOR(org_left) == FT_PIX_CEIL(org_right) ) in af_latin2_hint_edges()
/external/freetype/src/smooth/
Dftsmooth.c141 cbox.xMin = FT_PIX_FLOOR( cbox.xMin ); in ft_smooth_render_generic()
142 cbox.yMin = FT_PIX_FLOOR( cbox.yMin ); in ft_smooth_render_generic()
/external/freetype/include/freetype/internal/
Dftobjs.h80 #define FT_PIX_FLOOR( x ) ( (x) & ~63 ) macro
81 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 )
82 #define FT_PIX_CEIL( x ) FT_PIX_FLOOR( (x) + 63 )
/external/freetype/src/base/
Dftglyph.c481 acbox->xMin = FT_PIX_FLOOR( acbox->xMin ); in FT_Glyph_Get_CBox()
482 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox()
Dftobjs.c527 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); in ft_glyphslot_grid_fit_metrics()
533 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
534 metrics->vertBearingY = FT_PIX_FLOOR( metrics->vertBearingY ); in ft_glyphslot_grid_fit_metrics()
541 metrics->vertBearingX = FT_PIX_FLOOR( metrics->vertBearingX ); in ft_glyphslot_grid_fit_metrics()
542 metrics->vertBearingY = FT_PIX_FLOOR( metrics->vertBearingY ); in ft_glyphslot_grid_fit_metrics()
545 bottom = FT_PIX_FLOOR( metrics->horiBearingY - metrics->height ); in ft_glyphslot_grid_fit_metrics()
547 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); in ft_glyphslot_grid_fit_metrics()
2565 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
/external/freetype/src/pshinter/
Dpshalgo.c560 pos = FT_PIX_FLOOR( pos + ( len >> 1 ) ); in psh_hint_align()
642 pos = FT_PIX_FLOOR( pos + ( len >> 1 ) ) + 32; in psh_hint_align()
798 delta_a = FT_PIX_FLOOR( center ) + 32 - center;
804 delta_b = FT_PIX_FLOOR( center ) + 32 - center;
/external/freetype/src/truetype/
Dttinterp.c2102 val = FT_PIX_FLOOR( distance + compensation ) + 32; in Round_To_Half_Grid()
2108 val = -( FT_PIX_FLOOR( compensation - distance ) + 32 ); in Round_To_Half_Grid()
3313 args[0] = FT_PIX_FLOOR( args[0] );