Home
last modified time | relevance | path

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

12

/external/freetype/src/cff/
Dcffobjs.c230 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select()
237 FT_Pos x_scale, y_scale; in cff_size_select() local
242 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select()
247 x_scale = size->metrics.x_scale; in cff_size_select()
252 x_scale, y_scale, 0, 0 ); in cff_size_select()
302 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request()
309 FT_Pos x_scale, y_scale; in cff_size_request() local
314 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request()
319 x_scale = size->metrics.x_scale; in cff_size_request()
324 x_scale, y_scale, 0, 0 ); in cff_size_request()
Dcffobjs.h78 FT_Fixed x_scale; member
Dcffgload.c2623 glyph->x_scale = 0x10000L; in cff_slot_load()
2627 glyph->x_scale = size->root.metrics.x_scale; in cff_slot_load()
2720 glyph->x_scale = FT_MulDiv( glyph->x_scale, top_upm, sub_upm ); in cff_slot_load()
2935 FT_Fixed x_scale = glyph->x_scale; in cff_slot_load() local
2943 vec->x = FT_MulFix( vec->x, x_scale ); in cff_slot_load()
2948 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cff_slot_load()
/external/freetype/src/autofit/
Daftypes.h183 FT_Fixed x_scale; /* from font units to 1/64th device pixels */ member
194 ( (a)->x_scale == (b)->x_scale && \
Dafloader.c168 hints->x_scale ) + hints->x_delta; in af_loader_load_g()
362 x = FT_MulFix( subglyph->arg1, hints->x_scale ) + hints->x_delta; in af_loader_load_g()
396 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
434 x_scale ); in af_loader_load_g()
441 metrics->scaler.x_scale ); in af_loader_load_g()
496 scaler.x_scale = size->metrics.x_scale; in af_loader_load_glyph()
Dafhints.c577 FT_Fixed x_scale = hints->x_scale; in af_glyph_hints_reload() local
638 hints->x_scale = x_scale; in af_glyph_hints_reload()
668 point->ox = point->x = FT_MulFix( vec->x, x_scale ) + x_delta; in af_glyph_hints_reload()
Dafhints.h335 FT_Fixed x_scale; member
Daflatin.c88 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
535 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
597 metrics->root.scaler.x_scale = scale; in af_latin_metrics_scale_dim()
1061 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_latin_hints_compute_edges()
1469 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_latin_hints_init()
Dafcjk.c102 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
585 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
740 dist_threshold = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_cjk_hints_link_segments()
909 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_cjk_hints_compute_edges()
1270 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_cjk_hints_init()
Daflatin2.c90 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
518 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
577 metrics->root.scaler.x_scale = scale; in af_latin2_metrics_scale_dim()
1055 scale = ( dim == AF_DIMENSION_HORZ ) ? hints->x_scale in af_latin2_hints_compute_edges()
1479 hints->x_scale = metrics->axis[AF_DIMENSION_HORZ].scale; in af_latin2_hints_init()
Dafwarp.c190 org_scale = hints->x_scale; in af_warper_compute()
/external/freetype/src/truetype/
Dttgload.c757 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph()
764 loader->exec->metrics.x_scale = in TT_Hint_Glyph()
765 ((TT_Size)loader->size)->metrics.x_scale; in TT_Hint_Glyph()
900 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Simple_Glyph() local
906 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph()
1060 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Composite_Component() local
1064 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component()
1220 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local
1257 x_scale = ((TT_Size)loader->size)->metrics.x_scale; in load_truetype_glyph()
1262 x_scale = 0x10000L; in load_truetype_glyph()
[all …]
Dttobjs.c751 metrics->x_scale = 0; in tt_size_run_fpgm()
1144 metrics->x_scale = FT_DivFix( metrics->x_ppem << 6, in tt_size_reset()
1157 metrics->x_scale ) ); in tt_size_reset()
1163 size->ttmetrics.scale = metrics->x_scale; in tt_size_reset()
/external/freetype/src/base/
Dftobjs.c733 metrics->x_scale, 64 ); in FT_Load_Glyph()
2567 metrics->x_scale ) ); in ft_recompute_scaled_metrics()
2579 metrics->x_scale ); in ft_recompute_scaled_metrics()
2600 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics()
2609 metrics->x_scale = 1L << 16; in FT_Select_Metrics()
2654 metrics->x_scale = (FT_Fixed)req->width; in FT_Request_Metrics()
2656 if ( !metrics->x_scale ) in FT_Request_Metrics()
2657 metrics->x_scale = metrics->y_scale; in FT_Request_Metrics()
2659 metrics->y_scale = metrics->x_scale; in FT_Request_Metrics()
2679 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/opencv/otherlibs/highgui/
Dgrfmt_jpeg.cpp1641 int x_scale = channels > 1 ? 2 : 1, y_scale = x_scale; in WriteImage() local
1643 int x_step = x_scale * 8; in WriteImage()
1647 int luma_count = x_scale*y_scale; in WriteImage()
1649 int Y_step = x_scale*8; in WriteImage()
1717 lowstrm.PutByte(x_scale*16 + y_scale); // chroma scale factors in WriteImage()
1770 int j2 = j >> (x_scale - 1); in WriteImage()
1796 int src_step = x_scale * 8; in WriteImage()
/external/freetype/src/pshinter/
Dpshglob.h172 FT_Fixed x_scale,
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()
Dpshalgo.c2227 FT_Fixed x_scale = dim_x->scale_mult; in ps_hints_apply() local
2230 FT_Fixed old_x_scale = x_scale; in ps_hints_apply()
2249 x_scale -= x_scale / 50; in ps_hints_apply()
2251 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/harfbuzz/src/
Dharfbuzz-shaper.h256 HB_16Dot16 x_scale, y_scale; member
Dharfbuzz-gpos.c481 HB_16Dot16 x_scale, y_scale; in Get_ValueRecord() local
489 x_scale = gpi->font->x_scale; in Get_ValueRecord()
495 gd->x_pos += x_scale * vr->XPlacement / 0x10000; in Get_ValueRecord()
499 gd->x_advance += x_scale * vr->XAdvance / 0x10000; in Get_ValueRecord()
731 HB_16Dot16 x_scale, y_scale; in Get_Anchor() local
736 x_scale = gpi->font->x_scale; in Get_Anchor()
748 *x_value = x_scale * an->af.af1.XCoordinate / 0x10000; in Get_Anchor()
770 *x_value = x_scale * an->af.af3.XCoordinate / 0x10000; in Get_Anchor()
786 *x_value += x_scale * an->af.af3.XCoordinate / 0x10000; in Get_Anchor()
/external/harfbuzz/tests/shaping/
Dmain.cpp221 hbFont.x_scale = face->size->metrics.x_scale; in shaping()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DComplexTextControllerLinux.cpp215 m_item.font->x_scale = scale; in setupFontForScriptRun()
/external/qemu/android/skin/
Dwindow.c1341 double x_scale, y_scale; in skin_window_resize() local
1348 x_scale = window_w * 1.0 / layout_w; in skin_window_resize()
1351 scale = (x_scale <= y_scale) ? x_scale : y_scale; in skin_window_resize()

12