/external/pdfium/third_party/freetype/src/base/ |
D | ftcalc.c | 44 #undef FT_MulFix 219 FT_MulFix( FT_Long a, in FT_MulFix() function 485 FT_MulFix( FT_Long a, in FT_MulFix() function 642 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply() 643 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply() 644 yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); in FT_Matrix_Multiply() 645 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply() 664 delta = FT_MulFix( matrix->xx, matrix->yy ) - in FT_Matrix_Invert() 665 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
|
D | ftoutln.c | 700 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform() 701 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform() 703 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform() 704 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform() 980 d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); in FT_Outline_EmboldenXY() 998 q = FT_MulFix( out.x, in.y ) - FT_MulFix( out.y, in.x ); in FT_Outline_EmboldenXY() 1005 if ( FT_MulFix( xstrength, q ) <= FT_MulFix( d, l ) ) in FT_Outline_EmboldenXY() 1011 if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) ) in FT_Outline_EmboldenXY()
|
/external/freetype/src/base/ |
D | ftcalc.c | 44 #undef FT_MulFix 234 FT_MulFix( FT_Long a_, in FT_MulFix() function 529 FT_MulFix( FT_Long a_, in FT_MulFix() function 696 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply() 697 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply() 698 yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); in FT_Matrix_Multiply() 699 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply() 718 delta = FT_MulFix( matrix->xx, matrix->yy ) - in FT_Matrix_Invert() 719 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
|
D | ftoutln.c | 693 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform() 694 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform() 696 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform() 697 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform() 973 d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); in FT_Outline_EmboldenXY() 991 q = FT_MulFix( out.x, in.y ) - FT_MulFix( out.y, in.x ); in FT_Outline_EmboldenXY() 998 if ( FT_MulFix( xstrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY() 1004 if ( FT_MulFix( ystrength, q ) <= FT_MulFix( l, d ) ) in FT_Outline_EmboldenXY()
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cf2hints.c | 205 hint->dsCoord = FT_MulFix( hint->csCoord, scale ); in cf2_hint_init() 310 return FT_MulFix( csCoord, hintmap->scale ); in cf2_hintmap_map() 333 return FT_MulFix( csCoord - hintmap->edge[0].csCoord, in cf2_hintmap_map() 343 return FT_MulFix( csCoord - hintmap->edge[i].csCoord, in cf2_hintmap_map() 641 CF2_Fixed halfWidth = FT_MulFix( in cf2_hintmap_insertHint() 1097 pt.x = FT_MulFix( glyphpath->scaleX, x ) + in cf2_glyphpath_hintPoint() 1098 FT_MulFix( glyphpath->scaleC, y ); in cf2_glyphpath_hintPoint() 1101 ppt->x = FT_MulFix( glyphpath->font->outerTransform.a, pt.x ) + in cf2_glyphpath_hintPoint() 1102 FT_MulFix( glyphpath->font->outerTransform.c, pt.y ) + in cf2_glyphpath_hintPoint() 1104 ppt->y = FT_MulFix( glyphpath->font->outerTransform.b, pt.x ) + in cf2_glyphpath_hintPoint() [all …]
|
D | cf2blues.c | 162 FT_MulFix( in cf2_blues_init() 174 FT_MulFix( in cf2_blues_init() 433 FT_MulFix( in cf2_blues_init() 439 FT_MulFix( in cf2_blues_init()
|
/external/freetype/src/cff/ |
D | cf2hints.c | 205 hint->dsCoord = FT_MulFix( hint->csCoord, scale ); in cf2_hint_init() 310 return FT_MulFix( csCoord, hintmap->scale ); in cf2_hintmap_map() 333 return FT_MulFix( csCoord - hintmap->edge[0].csCoord, in cf2_hintmap_map() 343 return FT_MulFix( csCoord - hintmap->edge[i].csCoord, in cf2_hintmap_map() 641 CF2_Fixed halfWidth = FT_MulFix( in cf2_hintmap_insertHint() 1097 pt.x = FT_MulFix( glyphpath->scaleX, x ) + in cf2_glyphpath_hintPoint() 1098 FT_MulFix( glyphpath->scaleC, y ); in cf2_glyphpath_hintPoint() 1101 ppt->x = FT_MulFix( glyphpath->font->outerTransform.a, pt.x ) + in cf2_glyphpath_hintPoint() 1102 FT_MulFix( glyphpath->font->outerTransform.c, pt.y ) + in cf2_glyphpath_hintPoint() 1104 ppt->y = FT_MulFix( glyphpath->font->outerTransform.b, pt.x ) + in cf2_glyphpath_hintPoint() [all …]
|
D | cf2blues.c | 162 FT_MulFix( in cf2_blues_init() 174 FT_MulFix( in cf2_blues_init() 433 FT_MulFix( in cf2_blues_init() 439 FT_MulFix( in cf2_blues_init()
|
D | cf2font.c | 140 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening() 163 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
|
/external/freetype/src/autofit/ |
D | afwarp.c | 123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best() 241 warper->x1 = FT_MulFix( X1, org_scale ) + org_delta; in af_warper_compute() 242 warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; in af_warper_compute() 345 new_delta = xx1 - FT_MulFix( X1, new_scale ); in af_warper_compute() 357 hints->xmin_delta = FT_MulFix( X1, best_scale - org_scale ) in af_warper_compute() 359 hints->xmax_delta = FT_MulFix( X2, best_scale - org_scale ) in af_warper_compute()
|
D | afloader.c | 133 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 244 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g() 245 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g() 281 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 289 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 305 slot->metrics.vertAdvance = FT_MulFix( slot->metrics.vertAdvance, in af_loader_load_g()
|
D | aflatin2.c | 573 scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim() 620 width->cur = FT_MulFix( width->org, scale ); in af_latin2_metrics_scale_dim() 627 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin2_metrics_scale_dim() 638 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin2_metrics_scale_dim() 640 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin2_metrics_scale_dim() 645 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin2_metrics_scale_dim() 655 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim() 1121 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin2_hints_compute_edges() 1194 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges() 1398 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin2_hints_compute_blue_edges() [all …]
|
D | aflatin.c | 944 scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim() 1011 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim() 1024 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim() 1045 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim() 1047 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim() 1052 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim() 1071 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim() 1570 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin_hints_compute_edges() 1631 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges() 1854 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges() [all …]
|
/external/freetype/src/pshinter/ |
D | pshglob.c | 54 width->cur = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 65 w = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones() 454 zone->cur_top = FT_MulFix( zone->org_top, scale ) + delta; in psh_blues_scale_zones() 455 zone->cur_bottom = FT_MulFix( zone->org_bottom, scale ) + delta; in psh_blues_scale_zones() 456 zone->cur_ref = FT_MulFix( zone->org_ref, scale ) + delta; in psh_blues_scale_zones() 457 zone->cur_delta = FT_MulFix( zone->org_delta, scale ); in psh_blues_scale_zones() 511 if ( FT_MulFix( Delta, scale ) < 64 ) in psh_blues_scale_zones()
|
D | pshalgo.c | 410 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 411 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale() 449 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align() 450 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align() 526 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); in psh_hint_align() 677 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; 678 FT_Pos len = FT_MulFix( hint->org_len, scale ); 747 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); 1844 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points() 1848 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points() [all …]
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshglob.c | 54 width->cur = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 65 w = FT_MulFix( width->org, scale ); in psh_globals_scale_widths() 89 FT_Pos width = FT_MulFix( org_width, dimension->scale_mult ); 423 while ( threshold > 0 && FT_MulFix( threshold, scale ) > 32 ) in psh_blues_scale_zones() 454 zone->cur_top = FT_MulFix( zone->org_top, scale ) + delta; in psh_blues_scale_zones() 455 zone->cur_bottom = FT_MulFix( zone->org_bottom, scale ) + delta; in psh_blues_scale_zones() 456 zone->cur_ref = FT_MulFix( zone->org_ref, scale ) + delta; in psh_blues_scale_zones() 457 zone->cur_delta = FT_MulFix( zone->org_delta, scale ); in psh_blues_scale_zones() 511 if ( FT_MulFix( Delta, scale ) < 64 ) in psh_blues_scale_zones()
|
D | pshalgo.c | 412 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale() 413 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale() 451 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align() 452 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align() 528 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); in psh_hint_align() 679 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; 680 FT_Pos len = FT_MulFix( hint->org_len, scale ); 749 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); 1857 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points() 1861 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points() [all …]
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttgload.c | 960 FT_MulFix( 1280 * ppem, in TT_Process_Simple_Glyph() 985 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 986 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1110 x = FT_MulFix( x, m ); in TT_Process_Composite_Component() 1111 y = FT_MulFix( y, n ); in TT_Process_Composite_Component() 1125 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component() 1126 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component() 1138 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1139 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 1579 loader->pp1.x = FT_MulFix( loader->pp1.x, x_scale ); in load_truetype_glyph() [all …]
|
D | ttgxvar.c | 528 apply = FT_MulFix( apply, in ft_var_apply_tuple() 1243 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt() 1253 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt() 1449 delta_xy[j].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas() 1450 delta_xy[j].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas() 1461 delta_xy[localpoints[j]].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas() 1462 delta_xy[localpoints[j]].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas()
|
D | ttobjs.c | 1072 size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale ); in tt_size_ready_bytecode() 1201 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset() 1203 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset() 1205 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset() 1207 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
|
/external/freetype/src/truetype/ |
D | ttgload.c | 964 FT_MulFix( 1280 * ppem, in TT_Process_Simple_Glyph() 989 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 990 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1114 x = FT_MulFix( x, m ); in TT_Process_Composite_Component() 1115 y = FT_MulFix( y, n ); in TT_Process_Composite_Component() 1129 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component() 1130 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component() 1142 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1143 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 1606 loader->pp1.x = FT_MulFix( loader->pp1.x, x_scale ); in load_truetype_glyph() [all …]
|
D | ttobjs.c | 1065 size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale ); in tt_size_ready_bytecode() 1194 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset() 1196 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset() 1198 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset() 1200 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
|
D | ttgxvar.c | 609 apply = FT_MulFix( apply, in ft_var_apply_tuple() 1446 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt() 1480 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt() 1631 out = out1 + FT_MulFix( out - in1, scale ); in tt_delta_interpolate() 1928 outline->points[j].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 1929 outline->points[j].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 1977 outline->points[idx].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Apply_Glyph_Deltas() 1978 outline->points[idx].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Apply_Glyph_Deltas()
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidgload.c | 411 vec->x = FT_MulFix( vec->x, x_scale ); in cid_slot_load_glyph() 412 vec->y = FT_MulFix( vec->y, y_scale ); in cid_slot_load_glyph() 416 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cid_slot_load_glyph() 417 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cid_slot_load_glyph()
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1gload.c | 463 vec->x = FT_MulFix( vec->x, x_scale ); in T1_Load_Glyph() 464 vec->y = FT_MulFix( vec->y, y_scale ); in T1_Load_Glyph() 468 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in T1_Load_Glyph() 469 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in T1_Load_Glyph()
|