Home
last modified time | relevance | path

Searched refs:FT_PIX_ROUND (Results 1 – 22 of 22) sorted by relevance

/external/pdfium/third_party/freetype/src/raster/
Dftrend1.c140 cbox.xMin = FT_PIX_ROUND( cbox0.xMin ); in ft_raster1_render()
141 cbox.yMin = FT_PIX_ROUND( cbox0.yMin ); in ft_raster1_render()
142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render()
143 cbox.yMax = FT_PIX_ROUND( cbox0.yMax ); in ft_raster1_render()
/external/freetype/src/raster/
Dftrend1.c140 cbox.xMin = FT_PIX_ROUND( cbox0.xMin ); in ft_raster1_render()
141 cbox.yMin = FT_PIX_ROUND( cbox0.yMin ); in ft_raster1_render()
142 cbox.xMax = FT_PIX_ROUND( cbox0.xMax ); in ft_raster1_render()
143 cbox.yMax = FT_PIX_ROUND( cbox0.yMax ); in ft_raster1_render()
/external/freetype/src/autofit/
Dafloader.c420 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_glyph()
421 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_glyph()
438 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_glyph()
439 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_glyph()
451 loader->pp1.x = FT_PIX_ROUND( pp1x + hints->xmin_delta ); in af_loader_load_glyph()
452 loader->pp2.x = FT_PIX_ROUND( pp2x + hints->xmax_delta ); in af_loader_load_glyph()
530 slot->metrics.horiAdvance = FT_PIX_ROUND( slot->metrics.horiAdvance ); in af_loader_load_glyph()
531 slot->metrics.vertAdvance = FT_PIX_ROUND( slot->metrics.vertAdvance ); in af_loader_load_glyph()
Daflatin2.c667 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
672 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin2_metrics_scale_dim()
1626 scaled = FT_PIX_ROUND( reference ); in af_latin2_snap_width()
1984 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin2_hint_edges()
2003 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
2104 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2112 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2267 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
Daflatin.c1343 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1348 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1368 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
2649 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
3115 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3134 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
3180 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3227 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
3232 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
3373 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Dafcjk.c697 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_cjk_metrics_scale_dim()
715 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
1463 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c383 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
387 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
425 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
576 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
577 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
594 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
618 len = FT_PIX_ROUND( len ); in psh_hint_align()
641 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
796 delta_b = FT_PIX_ROUND( center ) - center;
[all …]
Dpshglob.c55 width->fit = FT_PIX_ROUND( width->cur ); in psh_globals_scale_widths()
75 width->fit = FT_PIX_ROUND( w ); in psh_globals_scale_widths()
460 zone->cur_ref = FT_PIX_ROUND( zone->cur_ref ); in psh_blues_scale_zones()
/external/freetype/src/pshinter/
Dpshalgo.c383 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
387 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
425 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
426 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
576 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
577 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
594 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
618 len = FT_PIX_ROUND( len ); in psh_hint_align()
641 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
796 delta_b = FT_PIX_ROUND( center ) - center;
[all …]
Dpshglob.c55 width->fit = FT_PIX_ROUND( width->cur ); in psh_globals_scale_widths()
75 width->fit = FT_PIX_ROUND( w ); in psh_globals_scale_widths()
460 zone->cur_ref = FT_PIX_ROUND( zone->cur_ref ); in psh_blues_scale_zones()
/external/freetype/src/base/
Dftbitmap.c289 if ( ( ( FT_PIX_ROUND( xStrength ) >> 6 ) > FT_INT_MAX ) || in FT_Bitmap_Embolden()
290 ( ( FT_PIX_ROUND( yStrength ) >> 6 ) > FT_INT_MAX ) ) in FT_Bitmap_Embolden()
293 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
294 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c605 metrics->horiAdvance = FT_PIX_ROUND( metrics->horiAdvance ); in ft_glyphslot_grid_fit_metrics()
606 metrics->vertAdvance = FT_PIX_ROUND( metrics->vertAdvance ); in ft_glyphslot_grid_fit_metrics()
2719 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2720 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2730 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2733 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2791 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2794 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3237 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3238 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftbitmap.c289 if ( ( ( FT_PIX_ROUND( xStrength ) >> 6 ) > FT_INT_MAX ) || in FT_Bitmap_Embolden()
290 ( ( FT_PIX_ROUND( yStrength ) >> 6 ) > FT_INT_MAX ) ) in FT_Bitmap_Embolden()
293 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
294 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c584 metrics->horiAdvance = FT_PIX_ROUND( metrics->horiAdvance ); in ft_glyphslot_grid_fit_metrics()
585 metrics->vertAdvance = FT_PIX_ROUND( metrics->vertAdvance ); in ft_glyphslot_grid_fit_metrics()
2589 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2590 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2597 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2600 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2656 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2659 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3102 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3103 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
[all …]
/external/pdfium/third_party/freetype/src/truetype/
Dttobjs.c1243 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
1245 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
1247 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
1249 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgload.c781 FT_PIX_ROUND( zone->cur[zone->n_points - 4].x ); in TT_Hint_Glyph()
783 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
785 FT_PIX_ROUND( zone->cur[zone->n_points - 2].y ); in TT_Hint_Glyph()
787 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
1121 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1122 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
Dttinterp.c1919 val = FT_PIX_ROUND( distance + compensation ); in Round_To_Grid()
1925 val = -FT_PIX_ROUND( compensation - distance ); in Round_To_Grid()
5729 dx = FT_PIX_ROUND( B1 + dx ) - B1; in Ins_SHPIX()
5730 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
6331 distance = FT_PIX_ROUND( B1 + distance - cur_dist ) - B1 + cur_dist; in Ins_MIRP()
7135 B = FT_PIX_ROUND( B1 + B ) - B1; in Ins_DELTAP()
/external/freetype/src/truetype/
Dttobjs.c1238 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
1240 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
1242 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
1258 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgload.c785 FT_PIX_ROUND( zone->cur[zone->n_points - 4].x ); in TT_Hint_Glyph()
787 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
789 FT_PIX_ROUND( zone->cur[zone->n_points - 2].y ); in TT_Hint_Glyph()
791 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
1145 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1146 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
Dttinterp.c1918 val = FT_PIX_ROUND( distance + compensation ); in Round_To_Grid()
1924 val = -FT_PIX_ROUND( compensation - distance ); in Round_To_Grid()
5653 dx = FT_PIX_ROUND( B1 + dx ) - B1; in Ins_SHPIX()
5654 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
6268 distance = FT_PIX_ROUND( B1 + distance - cur_dist ) - B1 + cur_dist; in Ins_MIRP()
7072 B = FT_PIX_ROUND( B1 + B ) - B1; in Ins_DELTAP()
/external/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro