Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafloader.c206 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_g()
207 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_g()
223 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_g()
224 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_g()
235 loader->pp1.x = FT_PIX_ROUND( pp1x + hints->xmin_delta ); in af_loader_load_g()
236 loader->pp2.x = FT_PIX_ROUND( pp2x + hints->xmax_delta ); in af_loader_load_g()
354 x = FT_PIX_ROUND( x ); in af_loader_load_g()
355 y = FT_PIX_ROUND( y ); in af_loader_load_g()
445 slot->metrics.horiAdvance = FT_PIX_ROUND( slot->metrics.horiAdvance ); in af_loader_load_g()
446 slot->metrics.vertAdvance = FT_PIX_ROUND( slot->metrics.vertAdvance ); in af_loader_load_g()
Daflatin.c571 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
576 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1418 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
1764 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
1783 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
1819 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
1862 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
1867 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
1992 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Daflatin2.c569 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
574 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin2_metrics_scale_dim()
1503 scaled = FT_PIX_ROUND( reference ); in af_latin2_snap_width()
1862 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin2_hint_edges()
1881 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
1982 fit = FT_PIX_ROUND(org); in af_latin2_hint_edges()
1990 fit = FT_PIX_ROUND(org); in af_latin2_hint_edges()
2137 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
Dafcjk.c702 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/external/freetype/src/pshinter/
Dpshalgo.c385 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
389 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
427 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
428 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
578 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
579 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
596 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
620 len = FT_PIX_ROUND( len ); in psh_hint_align()
643 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
798 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/truetype/
Dttobjs.c826 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
828 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
830 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
832 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgload.c640 origin = FT_PIX_ROUND( origin ) - origin; in TT_Hint_Glyph()
672 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
674 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
961 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
962 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
Dttinterp.c1777 val = -FT_PIX_ROUND( compensation - distance ); in Round_To_Grid()
/external/freetype/src/base/
Dftbitmap.c231 xstr = FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
232 ystr = FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c539 metrics->horiAdvance = FT_PIX_ROUND( metrics->horiAdvance ); in ft_glyphslot_grid_fit_metrics()
540 metrics->vertAdvance = FT_PIX_ROUND( metrics->vertAdvance ); in ft_glyphslot_grid_fit_metrics()
2371 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2372 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2379 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2382 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2424 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2427 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
2789 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
2790 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
/external/freetype/include/freetype/internal/
Dftobjs.h80 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro