/external/pdfium/third_party/freetype/src/raster/ |
D | ftrend1.c | 140 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/ |
D | ftrend1.c | 140 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/ |
D | afloader.c | 420 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()
|
D | aflatin2.c | 667 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()
|
D | aflatin.c | 1343 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()
|
D | afcjk.c | 697 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/ |
D | pshalgo.c | 383 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 …]
|
D | pshglob.c | 55 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/ |
D | pshalgo.c | 383 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 …]
|
D | pshglob.c | 55 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/ |
D | ftbitmap.c | 289 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()
|
D | ftobjs.c | 605 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/ |
D | ftbitmap.c | 289 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()
|
D | ftobjs.c | 584 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/ |
D | ttobjs.c | 1243 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()
|
D | ttgload.c | 781 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()
|
D | ttinterp.c | 1919 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/ |
D | ttobjs.c | 1238 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()
|
D | ttgload.c | 785 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()
|
D | ttinterp.c | 1918 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/ |
D | ftobjs.h | 92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
|
/external/pdfium/third_party/freetype/include/freetype/internal/ |
D | ftobjs.h | 92 #define FT_PIX_ROUND( x ) FT_PIX_FLOOR( (x) + 32 ) macro
|