Home
last modified time | relevance | path

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

/external/freetype/src/cff/
Dcffobjs.c231 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select()
238 FT_Pos x_scale, y_scale; in cff_size_select() local
243 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select()
248 x_scale = size->metrics.x_scale; in cff_size_select()
253 x_scale, y_scale, 0, 0 ); in cff_size_select()
303 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request()
310 FT_Pos x_scale, y_scale; in cff_size_request() local
315 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request()
320 x_scale = size->metrics.x_scale; in cff_size_request()
325 x_scale, y_scale, 0, 0 ); in cff_size_request()
Dcffgload.c2484 glyph->x_scale = 0x10000L; in cff_slot_load()
2488 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load()
2577 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2780 FT_Fixed x_scale = glyph->x_scale; in cff_slot_load() local
2788 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load()
2793 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
Dcffobjs.h78 FT_Fixed x_scale; member
/external/freetype/src/autofit/
Daftypes.h218 FT_Fixed x_scale; /* from font units to 1/64th device pixels */ member
229 ( (a)->x_scale == (b)->x_scale && \
Dafloader.c159 hints->x_scale ) + hints->x_delta; in af_loader_load_g()
351 x = FT_MulFix( subglyph->arg1, hints->x_scale ) + hints->x_delta; in af_loader_load_g()
385 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
422 x_scale ); in af_loader_load_g()
433 metrics->scaler.x_scale ); in af_loader_load_g()
484 scaler.x_scale = size->metrics.x_scale; in af_loader_load_glyph()
Dafhints.c560 FT_Fixed x_scale = hints->x_scale; in af_glyph_hints_reload() local
621 hints->x_scale = x_scale; in af_glyph_hints_reload()
652 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload()
Dafcjk.c83 axis->scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
172 dist_threshold = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_cjk_hints_link_segments()
341 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_cjk_hints_compute_edges()
615 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_cjk_hints_init()
Dafhints.h192 FT_Fixed x_scale; member
Daflatin.c69 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
449 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
513 metrics->root.scaler.x_scale = scale; in af_latin_metrics_scale_dim()
932 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_latin_hints_compute_edges()
1323 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_latin_hints_init()
Daflatin2.c77 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
457 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
512 metrics->root.scaler.x_scale = scale; in af_latin2_metrics_scale_dim()
989 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_latin2_hints_compute_edges()
1408 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_latin2_hints_init()
Dafwarp.c161 org_scale = hints->x_scale; in af_warper_compute()
/external/freetype/src/truetype/
Dttgload.c656 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph()
663 loader->exec->metrics.x_scale = in TT_Hint_Glyph()
664 ((TT_Size)loader->size)->metrics.x_scale; in TT_Hint_Glyph()
792 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Simple_Glyph() local
798 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
952 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Composite_Component() local
956 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component()
1096 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local
1133 x_scale = ((TT_Size)loader->size)->metrics.x_scale; in load_truetype_glyph()
1138 x_scale = 0x10000L; in load_truetype_glyph()
[all …]
Dttobjs.c439 metrics->x_scale = 0; in tt_size_run_fpgm()
820 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset()
833 metrics->x_scale ) ); in tt_size_reset()
839 size->ttmetrics.scale = metrics->x_scale; in tt_size_reset()
Dttinterp.c4836 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) in Ins_MD()
4840 D = TT_MULFIX( D, CUR.metrics.x_scale ); in Ins_MD()
4847 vec.x = TT_MULFIX( vec1->x - vec2->x, CUR.metrics.x_scale ); in Ins_MD()
5776 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) in Ins_MDRP()
5780 org_dist = TT_MULFIX( org_dist, CUR.metrics.x_scale ); in Ins_MDRP()
5787 vec.x = TT_MULFIX( vec1->x - vec2->x, CUR.metrics.x_scale ); in Ins_MDRP()
/external/freetype/src/base/
Dftobjs.c713 metrics->x_scale, 64 ); in FT_Load_Glyph()
2428 metrics->x_scale ) ); in ft_recompute_scaled_metrics()
2440 metrics->x_scale ); in ft_recompute_scaled_metrics()
2461 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics()
2470 metrics->x_scale = 1L << 16; in FT_Select_Metrics()
2515 metrics->x_scale = (FT_Fixed)req->width; in FT_Request_Metrics()
2517 if ( !metrics->x_scale ) in FT_Request_Metrics()
2518 metrics->x_scale = metrics->y_scale; in FT_Request_Metrics()
2520 metrics->y_scale = metrics->x_scale; in FT_Request_Metrics()
2540 metrics->x_scale = FT_DivFix( scaled_w, w ); in FT_Request_Metrics()
[all …]
Dftadvanc.c43 scale = face->size->metrics.x_scale; in _ft_face_scale_advances()
/external/freetype/src/pshinter/
Dpshglob.c708 FT_Fixed x_scale, in psh_globals_set_scale() argument
717 if ( x_scale != dim->scale_mult || in psh_globals_set_scale()
720 dim->scale_mult = x_scale; in psh_globals_set_scale()
Dpshglob.h172 FT_Fixed x_scale,
Dpshalgo.c2223 FT_Fixed x_scale = dim_x->scale_mult; in ps_hints_apply() local
2226 FT_Fixed old_x_scale = x_scale; in ps_hints_apply()
2245 x_scale -= x_scale / 50; in ps_hints_apply()
2247 psh_globals_set_scale( glyph->globals, x_scale, y_scale, 0, 0 ); in ps_hints_apply()
/external/freetype/include/freetype/internal/
Dpshints.h50 FT_Fixed x_scale,
/external/qemu/android/skin/
Dwindow.c1113 double x_scale, y_scale; in skin_window_resize() local
1120 x_scale = window_w * 1.0 / layout_w; in skin_window_resize()
1123 scale = (x_scale <= y_scale) ? x_scale : y_scale; in skin_window_resize()
/external/freetype/include/freetype/
Dfreetype.h1358 FT_Fixed x_scale; /* scaling values used to convert font */ member