/AliOS-Things-master/components/freetype/src/cff/ |
A D | cf2hints.c | 205 hint->dsCoord = FT_MulFix( hint->csCoord, scale ); in cf2_hint_init() 313 return FT_MulFix( csCoord, hintmap->scale ); in cf2_hintmap_map() 643 CF2_Fixed halfWidth = FT_MulFix( in cf2_hintmap_insertHint() 1096 pt.x = FT_MulFix( glyphpath->scaleX, x ) + in cf2_glyphpath_hintPoint() 1097 FT_MulFix( glyphpath->scaleC, y ); in cf2_glyphpath_hintPoint() 1145 ( FT_MulFix( a.x, b.y ) - FT_MulFix( a.y, b.x ) ) in cf2_glyphpath_computeIntersection() 1490 *x = FT_MulFix( cf2_floatToFixed( 0.7 ), in cf2_glyphpath_computeOffset() 1492 *y = FT_MulFix( cf2_floatToFixed( 1.0 - 0.7 ), in cf2_glyphpath_computeOffset() 1515 *x = FT_MulFix( cf2_floatToFixed( -0.7 ), in cf2_glyphpath_computeOffset() 1543 *x = FT_MulFix( cf2_floatToFixed( 0.7 ), in cf2_glyphpath_computeOffset() [all …]
|
A 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()
|
A D | cf2font.c | 137 stemWidthPer1000 = FT_MulFix( stemWidth + boldenAmount, emRatio ); in cf2_computeDarkening() 147 scaledStem = FT_MulFix( stemWidthPer1000, ppem ); in cf2_computeDarkening()
|
/AliOS-Things-master/components/freetype/src/base/ |
A D | ftcalc.c | 43 #undef FT_MulFix 207 FT_MulFix( FT_Long a, in FT_MulFix() function 451 FT_MulFix( FT_Long a, in FT_MulFix() function 727 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply() 728 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply() 729 yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); in FT_Matrix_Multiply() 730 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply() 749 delta = FT_MulFix( matrix->xx, matrix->yy ) - in FT_Matrix_Invert() 750 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
|
A D | ftoutln.c | 691 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform() 692 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform() 694 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform() 695 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform() 971 d = FT_MulFix( in.x, out.x ) + FT_MulFix( in.y, out.y ); in FT_Outline_EmboldenXY() 989 q = FT_MulFix( out.x, in.y ) - FT_MulFix( out.y, in.x ); in FT_Outline_EmboldenXY() 996 if ( FT_MulFix( xstrength, q ) <= FT_MulFix( d, l ) ) in FT_Outline_EmboldenXY() 1002 if ( FT_MulFix( ystrength, q ) <= FT_MulFix( d, l ) ) in FT_Outline_EmboldenXY()
|
A D | ftbitmap.c | 410 b = FT_MulFix( b, b ); in ft_gray_for_premultiplied_srgb_bgra() 411 g = FT_MulFix( g, g ); in ft_gray_for_premultiplied_srgb_bgra() 412 r = FT_MulFix( r, r ); in ft_gray_for_premultiplied_srgb_bgra() 415 b = FT_MulFix( b, 4731 /* 0.0722 * 65536 */ ); in ft_gray_for_premultiplied_srgb_bgra() 416 g = FT_MulFix( g, 46871 /* 0.7152 * 65536 */ ); in ft_gray_for_premultiplied_srgb_bgra() 417 r = FT_MulFix( r, 13933 /* 0.2126 * 65536 */ ); in ft_gray_for_premultiplied_srgb_bgra() 431 return (FT_Byte)( FT_MulFix( 65535 - l, a ) >> 8 ); in ft_gray_for_premultiplied_srgb_bgra()
|
A D | ftsynth.c | 98 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
|
A D | ftobjs.c | 2607 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics() 2610 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics() 2613 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics() 2616 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics() 2619 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics() 2622 metrics->descender = FT_MulFix( face->descender, in ft_recompute_scaled_metrics() 2625 metrics->height = FT_MulFix( face->height, in ft_recompute_scaled_metrics() 2628 metrics->max_advance = FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics() 2771 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics() 2772 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics() [all …]
|
/AliOS-Things-master/components/freetype/src/autofit/ |
A 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()
|
A D | afloader.c | 174 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 374 x = FT_MulFix( subglyph->arg1, hints->x_scale ) + hints->x_delta; in af_loader_load_g() 375 y = FT_MulFix( subglyph->arg2, hints->y_scale ) + hints->y_delta; in af_loader_load_g() 408 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g() 409 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g() 445 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 453 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g() 469 slot->metrics.vertAdvance = FT_MulFix( slot->metrics.vertAdvance, in af_loader_load_g()
|
A 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() 1199 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges() 1402 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin2_hints_compute_blue_edges() 1454 dist = FT_MulFix( dist, scale ); in af_latin2_hints_compute_blue_edges() [all …]
|
A D | aflatin.c | 912 scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim() 979 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim() 992 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim() 1013 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim() 1015 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim() 1020 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim() 1039 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim() 1554 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges() 1774 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges() 1810 dist = FT_MulFix( dist, scale ); in af_latin_hints_compute_blue_edges() [all …]
|
A D | afhints.c | 656 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload() 657 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload() 1073 u = before->pos + FT_MulFix( fu - before->fpos, in af_glyph_hints_align_strong_points() 1342 point->x = FT_MulFix( point->fx, scale ) + delta; in af_glyph_hints_scale_dim() 1347 point->y = FT_MulFix( point->fy, scale ) + delta; in af_glyph_hints_scale_dim()
|
A D | afcjk.c | 613 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim() 615 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim() 620 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_cjk_metrics_scale_dim() 634 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim() 939 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_cjk_hints_compute_edges() 1022 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges() 1200 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_cjk_hints_compute_blue_edges() 1256 dist = FT_MulFix( dist, scale ); in af_cjk_hints_compute_blue_edges()
|
/AliOS-Things-master/components/freetype/src/pshinter/ |
A 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()
|
A 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() 679 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; 680 FT_Pos len = FT_MulFix( hint->org_len, scale ); 1975 FT_MulFix( point->org_u - after->org_u, in psh_glyph_interpolate_normal_points() 2067 delta = first->cur_u - FT_MulFix( first->org_u, scale ); in psh_glyph_interpolate_other_points() 2071 point->cur_u = FT_MulFix( point->org_u, scale ) + delta; in psh_glyph_interpolate_other_points() 2137 cur_c = cur_a + FT_MulFix( org_ac, scale ); in psh_glyph_interpolate_other_points() [all …]
|
/AliOS-Things-master/components/freetype/src/truetype/ |
A D | ttgload.c | 987 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 988 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph() 1112 x = FT_MulFix( x, m ); in TT_Process_Composite_Component() 1113 y = FT_MulFix( y, n ); in TT_Process_Composite_Component() 1127 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component() 1128 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component() 1140 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1141 y = FT_MulFix( y, y_scale ); in TT_Process_Composite_Component() 2000 top = FT_MulFix( top, y_scale ); in compute_glyph_metrics() 2001 advance = FT_MulFix( advance, y_scale ); in compute_glyph_metrics() [all …]
|
A 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()
|
A D | ttobjs.c | 1072 size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale ); in tt_size_ready_bytecode() 1203 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset() 1205 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset() 1207 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset() 1209 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
|
/AliOS-Things-master/components/freetype/src/cid/ |
A 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()
|
/AliOS-Things-master/components/freetype/src/type1/ |
A 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()
|
/AliOS-Things-master/components/freetype/src/pfr/ |
A D | pfrobjs.c | 436 vec->x = FT_MulFix( vec->x, x_scale ); in pfr_slot_load() 437 vec->y = FT_MulFix( vec->y, y_scale ); in pfr_slot_load() 441 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in pfr_slot_load() 442 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in pfr_slot_load()
|
A D | pfrgload.c | 789 vec->x = FT_MulFix( vec->x, subglyph->x_scale ) + in pfr_glyph_load_rec() 791 vec->y = FT_MulFix( vec->y, subglyph->y_scale ) + in pfr_glyph_load_rec()
|
/AliOS-Things-master/components/freetype/include/ |
A D | freetype.h | 3806 FT_MulFix( FT_Long a, 3813 #define FT_MulFix( a, b ) FT_MULFIX_INLINED( a, b ) macro 3816 FT_MulFix( FT_Long a,
|
/AliOS-Things-master/components/freetype/src/psaux/ |
A D | t1decode.c | 859 tmp += FT_MulFix( *delta++, blend->weight_vector[mm] ); in t1_decoder_parse_charstrings() 921 top[0] = FT_MulFix( top[0], top[1] ); in t1_decoder_parse_charstrings() 1018 seed = FT_MulFix( seed, 0x10000L - seed ); in t1_decoder_parse_charstrings()
|