Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafloader.c258 size_metrics->ascender = FT_PIX_ROUND( in af_loader_load_glyph()
261 size_metrics->descender = FT_PIX_ROUND( in af_loader_load_glyph()
264 size_metrics->height = FT_PIX_ROUND( in af_loader_load_glyph()
272 size_metrics->max_advance = FT_PIX_ROUND( in af_loader_load_glyph()
462 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_glyph()
463 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_glyph()
480 loader->pp1.x = FT_PIX_ROUND( pp1x + hints->xmin_delta ); in af_loader_load_glyph()
481 loader->pp2.x = FT_PIX_ROUND( pp2x + hints->xmax_delta ); in af_loader_load_glyph()
495 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_glyph()
496 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_glyph()
[all …]
Daflatin2.c670 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
675 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin2_metrics_scale_dim()
1629 scaled = FT_PIX_ROUND( reference ); in af_latin2_snap_width()
1987 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin2_hint_edges()
2006 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
2107 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2115 fit = FT_PIX_ROUND( org ); in af_latin2_hint_edges()
2270 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
Daflatin.c1367 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
1372 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1392 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
2673 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
3134 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3153 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
3199 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
3246 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
3251 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
3392 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Dafcjk.c721 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_cjk_metrics_scale_dim()
739 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
1487 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/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/truetype/
Dttobjs.c1318 size_metrics->ascender = FT_PIX_ROUND( in tt_size_reset()
1321 size_metrics->descender = FT_PIX_ROUND( in tt_size_reset()
1324 size_metrics->height = FT_PIX_ROUND( in tt_size_reset()
1347 size_metrics->max_advance = FT_PIX_ROUND( in tt_size_reset()
Dttgload.c841 FT_PIX_ROUND( zone->cur[zone->n_points - 4].x ); in TT_Hint_Glyph()
843 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
845 FT_PIX_ROUND( zone->cur[zone->n_points - 2].y ); in TT_Hint_Glyph()
847 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
1235 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1237 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
Dttinterp.c5770 dx = FT_PIX_ROUND( B1 + dx ) - B1; in Ins_SHPIX()
5771 dy = FT_PIX_ROUND( B1 + dy ) - B1; in Ins_SHPIX()
6421 distance = FT_PIX_ROUND( B1 + distance - cur_dist ) - B1 + cur_dist; in Ins_MIRP()
7237 B = FT_PIX_ROUND( B1 + B ) - B1; in Ins_DELTAP()
/external/freetype/src/base/
Dftbitmap.c326 if ( ( ( FT_PIX_ROUND( xStrength ) >> 6 ) > FT_INT_MAX ) || in FT_Bitmap_Embolden()
327 ( ( FT_PIX_ROUND( yStrength ) >> 6 ) > FT_INT_MAX ) ) in FT_Bitmap_Embolden()
330 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
331 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c2912 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2913 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2923 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2926 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2984 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2987 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3410 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3411 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
3415 FT_Pos orig_x_rounded = FT_PIX_ROUND( orig_x ); in FT_Get_Kerning()
3416 FT_Pos orig_y_rounded = FT_PIX_ROUND( orig_y ); in FT_Get_Kerning()
/external/freetype/src/winfonts/
Dwinfnt.c817 bsize->y_ppem = FT_PIX_ROUND( bsize->y_ppem ); in FNT_Face_Init()
836 bsize->x_ppem = FT_PIX_ROUND( bsize->x_ppem ); in FNT_Face_Init()
/external/freetype/include/freetype/internal/
Dftobjs.h92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
/external/freetype/src/pfr/
Dpfrsbit.c770 glyph->root.metrics.horiAdvance = FT_PIX_ROUND( ( advance >> 2 ) ); in pfr_slot_load_bitmap()
/external/freetype/
DChangeLog.212863 FT_RoundFix but FT_PIX_ROUND.
3496 FT_PAD_CEIL, FT_PIX_FLOOR, FT_PIX_ROUND, FT_PIX_CEIL): New macros.