Home
last modified time | relevance | path

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

/external/freetype/src/base/
Dftcalc.c42 #undef FT_MulFix
196 FT_MulFix( FT_Long a, in FT_MulFix() function
435 FT_MulFix( FT_Long a, in FT_MulFix() function
711 xx = FT_MulFix( a->xx, b->xx ) + FT_MulFix( a->xy, b->yx ); in FT_Matrix_Multiply()
712 xy = FT_MulFix( a->xx, b->xy ) + FT_MulFix( a->xy, b->yy ); in FT_Matrix_Multiply()
713 yx = FT_MulFix( a->yx, b->xx ) + FT_MulFix( a->yy, b->yx ); in FT_Matrix_Multiply()
714 yy = FT_MulFix( a->yx, b->xy ) + FT_MulFix( a->yy, b->yy ); in FT_Matrix_Multiply()
733 delta = FT_MulFix( matrix->xx, matrix->yy ) - in FT_Matrix_Invert()
734 FT_MulFix( matrix->xy, matrix->yx ); in FT_Matrix_Invert()
Dftbbox.c323 uu = FT_MulFix( u, u ); in test_cubic_extrema()
324 y = d + FT_MulFix( c, 2*u ) + FT_MulFix( b, uu ); in test_cubic_extrema()
476 d = FT_MulFix( b, b ) - FT_MulFix( a, c ); in BBox_Cubic_Check()
Dftsynth.c97 xstr = FT_MulFix( face->units_per_EM, in FT_GlyphSlot_Embolden()
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()
Dftobjs.c2562 metrics->ascender = FT_PIX_CEIL( FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2565 metrics->descender = FT_PIX_FLOOR( FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
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()
2574 metrics->ascender = FT_MulFix( face->ascender, in ft_recompute_scaled_metrics()
2577 metrics->descender = FT_MulFix( face->descender, in ft_recompute_scaled_metrics()
2580 metrics->height = FT_MulFix( face->height, in ft_recompute_scaled_metrics()
2583 metrics->max_advance = FT_MulFix( face->max_advance_width, in ft_recompute_scaled_metrics()
2726 scaled_w = FT_MulFix( face->units_per_EM, metrics->x_scale ); in FT_Request_Metrics()
2727 scaled_h = FT_MulFix( face->units_per_EM, metrics->y_scale ); in FT_Request_Metrics()
[all …]
Dftstroke.c1001 FT_Fixed min_length = ft_pos_abs( FT_MulFix( stroker->radius, in ft_stroker_inside()
1084 sigma = FT_MulFix( stroker->miter_limit, thcos ); in ft_stroker_outside()
1123 FT_MulFix( radius, stroker->miter_limit ), in ft_stroker_outside()
1129 length = FT_MulFix( radius, in ft_stroker_outside()
1498 alen = FT_DivFix( FT_MulFix( blen, sinA ), sinB ); in FT_Stroker_ConicTo()
1705 alen = FT_DivFix( FT_MulFix( blen, sinA ), sinB ); in FT_Stroker_CubicTo()
/external/freetype/src/autofit/
Dafwarp.c123 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()
Dafloader.c167 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
362 x = FT_MulFix( subglyph->arg1, hints->x_scale ) + hints->x_delta; in af_loader_load_g()
363 y = FT_MulFix( subglyph->arg2, hints->y_scale ) + hints->y_delta; in af_loader_load_g()
396 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
397 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
433 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
441 slot->metrics.horiAdvance = FT_MulFix( slot->metrics.horiAdvance, in af_loader_load_g()
457 slot->metrics.vertAdvance = FT_MulFix( slot->metrics.vertAdvance, in af_loader_load_g()
Daflatin.c572 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin_metrics_scale_dim()
612 width->cur = FT_MulFix( width->org, scale ); in af_latin_metrics_scale_dim()
619 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin_metrics_scale_dim()
630 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin_metrics_scale_dim()
632 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin_metrics_scale_dim()
637 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin_metrics_scale_dim()
656 delta2 = FT_MulFix( delta2, scale ); in af_latin_metrics_scale_dim()
1096 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin_hints_compute_edges()
1157 edge->opos = FT_MulFix( seg->pos, scale ); in af_latin_hints_compute_edges()
1377 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges()
[all …]
Daflatin2.c556 FT_Pos scaled = FT_MulFix( blue->shoot.org, scaler->y_scale ); in af_latin2_metrics_scale_dim()
592 width->cur = FT_MulFix( width->org, scale ); in af_latin2_metrics_scale_dim()
599 (FT_Bool)( FT_MulFix( axis->standard_width, scale ) < 32 + 8 ); in af_latin2_metrics_scale_dim()
610 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_latin2_metrics_scale_dim()
612 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_latin2_metrics_scale_dim()
617 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_latin2_metrics_scale_dim()
627 delta2 = FT_MulFix( delta2, scale ); in af_latin2_metrics_scale_dim()
1096 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_latin2_hints_compute_edges()
1168 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_latin2_hints_compute_edges()
1371 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin2_hints_compute_blue_edges()
[all …]
Dafhints.c668 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload()
669 point->oy = point->y = FT_MulFix( vec->y, y_scale ) + y_delta; in af_glyph_hints_reload()
1016 u = before->pos + FT_MulFix( fu - before->fpos, in af_glyph_hints_align_strong_points()
1288 point->x = FT_MulFix( point->fx, scale ) + delta; in af_glyph_hints_scale_dim()
1293 point->y = FT_MulFix( point->fy, scale ) + delta; in af_glyph_hints_scale_dim()
Dafcjk.c610 blue->ref.cur = FT_MulFix( blue->ref.org, scale ) + delta; in af_cjk_metrics_scale_dim()
612 blue->shoot.cur = FT_MulFix( blue->shoot.org, scale ) + delta; in af_cjk_metrics_scale_dim()
617 dist = FT_MulFix( blue->ref.org - blue->shoot.org, scale ); in af_cjk_metrics_scale_dim()
631 delta2 = FT_MulFix( delta2, scale ); in af_cjk_metrics_scale_dim()
928 edge_distance_threshold = FT_MulFix( laxis->edge_distance_threshold, in af_cjk_hints_compute_edges()
1010 edge->opos = edge->pos = FT_MulFix( seg->pos, scale ); in af_cjk_hints_compute_edges()
1183 best_dist0 = FT_MulFix( metrics->units_per_em / 40, scale ); in af_cjk_hints_compute_blue_edges()
1241 dist = FT_MulFix( dist, scale ); in af_cjk_hints_compute_blue_edges()
/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.c413 hint->cur_pos = FT_MulFix( hint->org_pos, scale ) + delta; in ps_simple_scale()
414 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
452 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta; in psh_hint_align()
453 FT_Pos len = FT_MulFix( hint->org_len, scale ); in psh_hint_align()
529 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale ); in psh_hint_align()
680 FT_Pos pos = FT_MulFix( hint->org_pos, scale ) + delta;
681 FT_Pos len = FT_MulFix( hint->org_len, scale );
750 cur_delta = FT_MulFix( cur_org_center - par_org_center, scale );
1859 point->cur_u = hint->cur_pos + FT_MulFix( delta, scale ); in psh_glyph_interpolate_strong_points()
1863 FT_MulFix( delta - hint->org_len, scale ); in psh_glyph_interpolate_strong_points()
[all …]
/external/freetype/src/truetype/
Dttgload.c903 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
904 vec->y = FT_MulFix( vec->y, y_scale ); in TT_Process_Simple_Glyph()
1027 x = FT_MulFix( x, m ); in TT_Process_Composite_Component()
1028 y = FT_MulFix( y, n ); in TT_Process_Composite_Component()
1037 (FT_Int32)FT_MulFix( subglyph->transform.xx, in TT_Process_Composite_Component()
1039 (FT_Int32)FT_MulFix( subglyph->transform.xy, in TT_Process_Composite_Component()
1042 (FT_Int32)FT_MulFix( subglyph->transform.yy, in TT_Process_Composite_Component()
1044 (FT_Int32)FT_MulFix( subglyph->transform.yx, in TT_Process_Composite_Component()
1048 x = FT_MulFix( x, mac_xscale ); in TT_Process_Composite_Component()
1049 y = FT_MulFix( y, mac_yscale ); in TT_Process_Composite_Component()
[all …]
Dttobjs.c1026 size->cvt[i] = FT_MulFix( face->cvt[i], size->ttmetrics.scale ); in tt_size_ready_bytecode()
1157 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()
Dttgxvar.c1262 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt()
1272 FT_MulFix( deltas[j], apply ) ); in tt_face_vary_cvt()
1468 delta_xy[j].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1469 delta_xy[j].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1480 delta_xy[localpoints[j]].x += FT_MulFix( deltas_x[j], apply ); in TT_Vary_Get_Glyph_Deltas()
1481 delta_xy[localpoints[j]].y += FT_MulFix( deltas_y[j], apply ); in TT_Vary_Get_Glyph_Deltas()
Dttinterp.c37 #define TT_MULFIX FT_MulFix
/external/freetype/include/freetype/
Dfreetype.h3675 FT_MulFix( FT_Long a,
3682 #define FT_MulFix( a, b ) FT_MULFIX_INLINED( a, b ) macro
3685 FT_MulFix( FT_Long a,
/external/freetype/src/psaux/
Dt1decode.c853 tmp += FT_MulFix( *delta++, blend->weight_vector[mm] ); in t1_decoder_parse_charstrings()
915 top[0] = FT_MulFix( top[0], top[1] ); in t1_decoder_parse_charstrings()
1012 seed = FT_MulFix( seed, 0x10000L - seed ); in t1_decoder_parse_charstrings()
/external/freetype/src/cff/
Dcffgload.c2045 seed = FT_MulFix( seed, 0x10000L - seed ); in cff_decoder_parse_charstrings()
2055 args[0] = FT_MulFix( args[0], args[1] ); in cff_decoder_parse_charstrings()
2938 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load()
2939 vec->y = FT_MulFix( vec->y, y_scale ); in cff_slot_load()
2943 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
2944 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); in cff_slot_load()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp919 strength = FT_MulFix(fFace->units_per_EM, fFace->size->metrics.y_scale) in emboldenOutline()