Home
last modified time | relevance | path

Searched refs:FT_MulFix (Results 1 – 21 of 21) sorted by relevance

/external/freetype/src/base/
Dftcalc.c42 #undef FT_MulFix
196 FT_MulFix( FT_Long a, in FT_MulFix() function
434 FT_MulFix( FT_Long a, in FT_MulFix() function
708 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply()
709 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply()
710 yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); in FT_Matrix_Multiply()
711 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply()
730 delta = FT_MulFix( matrix->xx, matrix->yy ) - in FT_Matrix_Invert()
731 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
Dftbbox.c322 uu = FT_MulFix( u, u ); in test_cubic_extrema()
323 y = d + FT_MulFix( c, 2*u ) + FT_MulFix( b, uu ); in test_cubic_extrema()
475 d = FT_MulFix( b, b ) - FT_MulFix( a, c ); in BBox_Cubic_Check()
Dftsynth.c87 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
Dftobjs.c2418 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2421 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
2424 metrics->height = FT_PIX_ROUND( FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2427 metrics->max_advance = FT_PIX_ROUND( FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
2430 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2433 metrics->descender = FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
2436 metrics->height = FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2439 metrics->max_advance = FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
2570 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics()
2571 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics()
[all …]
Dftoutln.c681 xz = FT_MulFix( vector->x, matrix->xx ) + in FT_Vector_Transform()
682 FT_MulFix( vector->y, matrix->xy ); in FT_Vector_Transform()
684 yz = FT_MulFix( vector->x, matrix->yx ) + in FT_Vector_Transform()
685 FT_MulFix( vector->y, matrix->yy ); in FT_Vector_Transform()
Dftstroke.c892 sigma = FT_MulFix( stroker->miter_limit, thcos ); in ft_stroker_inside()
955 sigma = FT_MulFix( stroker->miter_limit, thcos ); in ft_stroker_outside()
968 FT_MulFix( radius, stroker->miter_limit ), in ft_stroker_outside()
974 length = FT_MulFix( radius, in ft_stroker_outside()
/external/freetype/src/pshinter/
Dpshglob.c54 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()
Dpshalgo.c412 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 );
1853 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points()
1857 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points()
[all …]
/external/freetype/src/autofit/
Dafwarp.c98 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best()
212 warper->x1 = FT_MulFix( X1, org_scale ) + org_delta; in af_warper_compute()
213 warper->x2 = FT_MulFix( X2, org_scale ) + org_delta; in af_warper_compute()
310 new_delta = xx1 - FT_MulFix( X1, new_scale ); in af_warper_compute()
322 hints->xmin_delta = FT_MulFix( X1, best_scale - org_scale ) in af_warper_compute()
324 hints->xmax_delta = FT_MulFix( X2, best_scale - org_scale ) in af_warper_compute()
Dafloader.c158 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
351 x = FT_MulFix( subglyph->arg1, hints->x_scale ) + hints->x_delta; in af_loader_load_g()
352 y = FT_MulFix( subglyph->arg2, hints->y_scale ) + hints->y_delta; in af_loader_load_g()
385 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
386 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
421 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
432 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
442 slot->metrics.vertAdvance = FT_MulFix( slot->metrics.vertAdvance, in af_loader_load_g()
Daflatin.c486 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim()
528 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim()
535 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim()
546 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim()
548 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim()
553 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim()
564 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
964 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin_hints_compute_edges()
1025 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
1234 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges()
[all …]
Daflatin2.c495 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim()
527 width->cur = FT_MulFix( width->org, scale ); in af_latin2_metrics_scale_dim()
534 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin2_metrics_scale_dim()
545 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin2_metrics_scale_dim()
547 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin2_metrics_scale_dim()
552 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin2_metrics_scale_dim()
562 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
1030 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin2_hints_compute_edges()
1101 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges()
1300 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin2_hints_compute_blue_edges()
[all …]
Dafhints.c652 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload()
653 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload()
998 u = before->pos + FT_MulFix( fu - before->fpos, in af_glyph_hints_align_strong_points()
1253 point->x = FT_MulFix( point->fx, scale ) + delta; in af_glyph_hints_scale_dim()
1258 point->y = FT_MulFix( point->fy, scale ) + delta; in af_glyph_hints_scale_dim()
Dafcjk.c360 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_cjk_hints_compute_edges()
442 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
/external/freetype/src/truetype/
Dttgload.c798 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
799 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph()
922 x = FT_MulFix( x, m ); in TT_Process_Composite_Component()
923 y = FT_MulFix( y, n ); in TT_Process_Composite_Component()
932 FT_MulFix( subglyph->transform.xx, in TT_Process_Composite_Component()
934 FT_MulFix( subglyph->transform.xy, in TT_Process_Composite_Component()
937 FT_MulFix( subglyph->transform.yy, in TT_Process_Composite_Component()
939 FT_MulFix( subglyph->transform.yx, in TT_Process_Composite_Component()
943 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component()
944 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component()
[all …]
Dttobjs.c695 size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale ); in tt_size_ready_bytecode()
826 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); in tt_size_reset()
828 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); in tt_size_reset()
830 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); in tt_size_reset()
832 FT_PIX_ROUND( FT_MulFix( face->root.max_advance_width, in tt_size_reset()
Dttgxvar.c1255 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt()
1265 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt()
1461 delta_xy[j].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1462 delta_xy[j].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1470 delta_xy[localpoints[j]].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1471 delta_xy[localpoints[j]].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas()
Dttinterp.c33 #define TT_MULFIX FT_MulFix
/external/freetype/include/freetype/
Dfreetype.h3598 FT_MulFix( FT_Long a,
3605 #define FT_MulFix( a, b ) FT_MULFIX_INLINED( a, b ) macro
3608 FT_MulFix( FT_Long a,
/external/freetype/src/cff/
Dcffgload.c1968 seed = FT_MulFix( seed, 0x10000L - seed ); in cff_decoder_parse_charstrings()
1978 args[0] = FT_MulFix( args[0], args[1] ); in cff_decoder_parse_charstrings()
2788 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load()
2789 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load()
2793 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
2794 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load()
/external/freetype/src/psaux/
Dt1decode.c746 tmp += FT_MulFix( *delta++, blend->weight_vector[mm] ); in t1_decoder_parse_charstrings()