Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafloader.c215 loader->pp1.x = FT_PIX_ROUND( pp1x_uh ); in af_loader_load_g()
216 loader->pp2.x = FT_PIX_ROUND( pp2x_uh ); in af_loader_load_g()
233 loader->pp1.x = FT_PIX_ROUND( pp1x ); in af_loader_load_g()
234 loader->pp2.x = FT_PIX_ROUND( pp2x ); in af_loader_load_g()
246 loader->pp1.x = FT_PIX_ROUND( pp1x + hints->xmin_delta ); in af_loader_load_g()
247 loader->pp2.x = FT_PIX_ROUND( pp2x + hints->xmax_delta ); in af_loader_load_g()
365 x = FT_PIX_ROUND( x ); in af_loader_load_g()
366 y = FT_PIX_ROUND( y ); in af_loader_load_g()
460 slot->metrics.horiAdvance = FT_PIX_ROUND( slot->metrics.horiAdvance ); in af_loader_load_g()
461 slot->metrics.vertAdvance = FT_PIX_ROUND( slot->metrics.vertAdvance ); in af_loader_load_g()
Daflatin.c663 delta2 = FT_PIX_ROUND( delta2 ); in af_latin_metrics_scale_dim()
668 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
688 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin_metrics_scale_dim()
1564 scaled = FT_PIX_ROUND( reference ); in af_latin_snap_width()
1929 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
1948 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
1990 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin_hint_edges()
2036 cur_pos1 = FT_PIX_ROUND( org_pos ); in af_latin_hint_edges()
2041 cur_pos2 = FT_PIX_ROUND( org_pos + org_len ) - cur_len; in af_latin_hint_edges()
2164 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin_hint_edges()
Daflatin2.c634 delta2 = FT_PIX_ROUND( delta2 ); in af_latin2_metrics_scale_dim()
639 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_latin2_metrics_scale_dim()
1574 scaled = FT_PIX_ROUND( reference ); in af_latin2_snap_width()
1933 cur_pos1 = FT_PIX_ROUND( org_center ); in af_latin2_hint_edges()
1952 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
2054 fit = FT_PIX_ROUND(org); in af_latin2_hint_edges()
2062 fit = FT_PIX_ROUND(org); in af_latin2_hint_edges()
2217 edge->pos = FT_PIX_ROUND( edge->opos ); in af_latin2_hint_edges()
Dafcjk.c623 blue->ref.fit = FT_PIX_ROUND( blue->ref.cur ); in af_cjk_metrics_scale_dim()
641 delta2 = FT_PIX_ROUND( delta2 ); in af_cjk_metrics_scale_dim()
1357 scaled = FT_PIX_ROUND( reference ); in af_cjk_snap_width()
/external/freetype/src/raster/
Dftrend1.c166 cbox.xMin = FT_PIX_ROUND( cbox.xMin ); in ft_raster1_render()
167 cbox.yMin = FT_PIX_ROUND( cbox.yMin ); in ft_raster1_render()
168 cbox.xMax = FT_PIX_ROUND( cbox.xMax ); in ft_raster1_render()
169 cbox.yMax = FT_PIX_ROUND( cbox.yMax ); in ft_raster1_render()
/external/freetype/src/pshinter/
Dpshalgo.c386 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
390 len = FT_PIX_ROUND( len ); in psh_dimension_quantize_len()
428 FT_Fixed delta1 = FT_PIX_ROUND( pos ) - pos; in psh_hint_snap_stem_side_delta()
429 FT_Fixed delta2 = FT_PIX_ROUND( pos + len ) - pos - len; in psh_hint_snap_stem_side_delta()
579 FT_Pos left_nearest = FT_PIX_ROUND( pos ); in psh_hint_align()
580 FT_Pos right_nearest = FT_PIX_ROUND( pos + len ); in psh_hint_align()
597 pos = FT_PIX_ROUND( pos ); in psh_hint_align()
621 len = FT_PIX_ROUND( len ); in psh_hint_align()
644 pos = FT_PIX_ROUND( pos + ( len >> 1 ) ); in psh_hint_align()
799 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.c231 if ( ( ( FT_PIX_ROUND( xStrength ) >> 6 ) > FT_INT_MAX ) || in FT_Bitmap_Embolden()
232 ( ( FT_PIX_ROUND( yStrength ) >> 6 ) > FT_INT_MAX ) ) in FT_Bitmap_Embolden()
235 xstr = (FT_Int)FT_PIX_ROUND( xStrength ) >> 6; in FT_Bitmap_Embolden()
236 ystr = (FT_Int)FT_PIX_ROUND( yStrength ) >> 6; in FT_Bitmap_Embolden()
Dftobjs.c554 metrics->horiAdvance = FT_PIX_ROUND( metrics->horiAdvance ); in ft_glyphslot_grid_fit_metrics()
555 metrics->vertAdvance = FT_PIX_ROUND( metrics->vertAdvance ); in ft_glyphslot_grid_fit_metrics()
2503 w = FT_PIX_ROUND( w ); in FT_Match_Size()
2504 h = FT_PIX_ROUND( h ); in FT_Match_Size()
2511 if ( h != FT_PIX_ROUND( bsize->y_ppem ) ) in FT_Match_Size()
2514 if ( w == FT_PIX_ROUND( bsize->x_ppem ) || ignore_width ) in FT_Match_Size()
2568 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2571 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
3009 akerning->x = FT_PIX_ROUND( akerning->x ); in FT_Get_Kerning()
3010 akerning->y = FT_PIX_ROUND( akerning->y ); in FT_Get_Kerning()
/external/freetype/src/truetype/
Dttobjs.c1157 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
1159 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
1161 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
1163 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgload.c738 origin = FT_PIX_ROUND( origin ) - origin; in TT_Hint_Glyph()
770 FT_PIX_ROUND( zone->cur[zone->n_points - 3].x ); in TT_Hint_Glyph()
772 FT_PIX_ROUND( zone->cur[zone->n_points - 1].y ); in TT_Hint_Glyph()
1066 x = FT_PIX_ROUND( x ); in TT_Process_Composite_Component()
1067 y = FT_PIX_ROUND( y ); in TT_Process_Composite_Component()
Dttinterp.c2066 val = -FT_PIX_ROUND( compensation - distance ); in Round_To_Grid()
/external/freetype/include/freetype/internal/
Dftobjs.h81 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro