/external/harfbuzz_ng/test/api/ |
D | test-font.c | 367 int x_scale, y_scale; in test_font_properties() local 384 x_scale = y_scale = 13; in test_font_properties() 385 hb_font_get_scale (font, &x_scale, NULL); in test_font_properties() 386 g_assert_cmpint (x_scale, ==, 0); in test_font_properties() 387 x_scale = y_scale = 13; in test_font_properties() 390 x_scale = y_scale = 13; in test_font_properties() 391 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() 392 g_assert_cmpint (x_scale, ==, 0); in test_font_properties() 397 x_scale = y_scale = 13; in test_font_properties() 398 hb_font_get_scale (font, &x_scale, &y_scale); in test_font_properties() [all …]
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftpfr.c | 66 FT_Fixed x_scale, y_scale; in FT_Get_PFR_Metrics() local 76 x_scale = y_scale = 0x10000L; in FT_Get_PFR_Metrics() 79 x_scale = face->size->metrics.x_scale; in FT_Get_PFR_Metrics() 84 *ametrics_x_scale = x_scale; in FT_Get_PFR_Metrics()
|
D | ftobjs.c | 775 metrics->x_scale, 64 ); in FT_Load_Glyph() 2647 metrics->x_scale ) ); in ft_recompute_scaled_metrics() 2659 metrics->x_scale ); in ft_recompute_scaled_metrics() 2680 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics() 2689 metrics->x_scale = 1L << 16; in FT_Select_Metrics() 2699 metrics->x_scale, metrics->x_scale / 65536.0 )); in FT_Select_Metrics() 2746 metrics->x_scale = (FT_Fixed)req->width; in FT_Request_Metrics() 2748 if ( !metrics->x_scale ) in FT_Request_Metrics() 2749 metrics->x_scale = metrics->y_scale; in FT_Request_Metrics() 2751 metrics->y_scale = metrics->x_scale; in FT_Request_Metrics() [all …]
|
/external/pdfium/third_party/freetype/src/cff/ |
D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 241 FT_Pos x_scale, y_scale; in cff_size_select() local 246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select() 251 x_scale = size->metrics.x_scale; in cff_size_select() 256 x_scale, y_scale, 0, 0 ); in cff_size_select() 306 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 313 FT_Pos x_scale, y_scale; in cff_size_request() local 318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request() 323 x_scale = size->metrics.x_scale; in cff_size_request() 328 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cf2ft.c | 256 CF2_Fixed* x_scale, in cf2_getScaleAndHintFlag() argument 269 *x_scale = ( decoder->builder.glyph->x_scale + 32 ) / 64; in cf2_getScaleAndHintFlag() 277 *x_scale = 0x0400; /* 1/64 as 16.16 */ in cf2_getScaleAndHintFlag()
|
D | cffobjs.h | 78 FT_Fixed x_scale; member
|
/external/harfbuzz_ng/src/ |
D | hb-font.cc | 71 return font->x_scale; in hb_font_get_glyph_h_advance_nil() 893 font->x_scale = parent->x_scale; in hb_font_create_sub_font() 1170 int x_scale, in hb_font_set_scale() argument 1176 font->x_scale = x_scale; in hb_font_set_scale() 1192 int *x_scale, in hb_font_get_scale() argument 1195 if (x_scale) *x_scale = font->x_scale; in hb_font_get_scale()
|
D | hb-font-private.hh | 100 int x_scale; member 114 inline hb_position_t em_scale_x (int16_t v) { return em_scale (v, this->x_scale); } in em_scale_x() 119 if (unlikely (parent && parent->x_scale != x_scale)) in parent_scale_x_distance() 120 return (hb_position_t) (v * (int64_t) this->x_scale / this->parent->x_scale); in parent_scale_x_distance()
|
D | hb-ft.cc | 102 if (font->x_scale < 0) in hb_ft_get_glyph_h_advance() 441 …(int) (((uint64_t) ft_face->size->metrics.x_scale * (uint64_t) ft_face->units_per_EM + (1<<15)) >>… in hb_ft_font_create() 537 abs (font->x_scale), abs (font->y_scale), in hb_ft_font_set_funcs() 540 font->x_ppem * 72 * 64 / font->x_scale, in hb_ft_font_set_funcs() 543 if (font->x_scale < 0 || font->y_scale < 0) in hb_ft_font_set_funcs() 545 FT_Matrix matrix = { font->x_scale < 0 ? -1 : +1, 0, in hb_ft_font_set_funcs()
|
D | hb-font.h | 483 int x_scale, 488 int *x_scale,
|
/external/freetype/src/cff/ |
D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, in cff_size_select() 241 FT_Pos x_scale, y_scale; in cff_size_select() local 246 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_select() 251 x_scale = size->metrics.x_scale; in cff_size_select() 256 x_scale, y_scale, 0, 0 ); in cff_size_select() 306 size->metrics.x_scale, size->metrics.y_scale, in cff_size_request() 313 FT_Pos x_scale, y_scale; in cff_size_request() local 318 x_scale = FT_MulDiv( size->metrics.x_scale, top_upm, sub_upm ); in cff_size_request() 323 x_scale = size->metrics.x_scale; in cff_size_request() 328 x_scale, y_scale, 0, 0 ); in cff_size_request()
|
D | cf2ft.c | 256 CF2_Fixed* x_scale, in cf2_getScaleAndHintFlag() argument 269 *x_scale = ( decoder->builder.glyph->x_scale + 32 ) / 64; in cf2_getScaleAndHintFlag() 277 *x_scale = 0x0400; /* 1/64 as 16.16 */ in cf2_getScaleAndHintFlag()
|
D | cffobjs.h | 78 FT_Fixed x_scale; member
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1gload.c | 312 glyph->x_scale = t1size->metrics.x_scale; in T1_Load_Glyph() 317 glyph->x_scale = 0x10000L; in T1_Load_Glyph() 455 FT_Fixed x_scale = glyph->x_scale; in T1_Load_Glyph() local 463 vec->x = FT_MulFix( vec->x, x_scale ); in T1_Load_Glyph() 468 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in T1_Load_Glyph()
|
D | t1objs.h | 126 FT_Fixed x_scale; member
|
/external/freetype/src/autofit/ |
D | afdummy.c | 31 hints->x_scale = metrics->scaler.x_scale; in af_dummy_hints_init()
|
D | afloader.c | 134 hints->x_scale ) + hints->x_delta; in af_loader_load_g() 244 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g() 282 x_scale ); in af_loader_load_g() 290 metrics->scaler.x_scale ); in af_loader_load_g() 348 scaler.x_scale = size->metrics.x_scale; in af_loader_load_glyph()
|
D | aftypes.h | 179 FT_Fixed x_scale; /* from font units to 1/64th device pixels */ member 190 ( (a)->x_scale == (b)->x_scale && \
|
/external/pdfium/third_party/freetype/src/cid/ |
D | cidgload.c | 294 glyph->x_scale = cidsize->metrics.x_scale; in cid_slot_load_glyph() 403 FT_Fixed x_scale = glyph->x_scale; in cid_slot_load_glyph() local 411 vec->x = FT_MulFix( vec->x, x_scale ); in cid_slot_load_glyph() 416 metrics->horiAdvance = FT_MulFix( metrics->horiAdvance, x_scale ); in cid_slot_load_glyph()
|
D | cidobjs.h | 108 FT_Fixed x_scale; member
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttgload.c | 769 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph() 776 loader->exec->metrics.x_scale = in TT_Hint_Glyph() 777 ((TT_Size)loader->size)->metrics.x_scale; in TT_Hint_Glyph() 931 FT_Fixed x_scale = 0; /* pacify compiler */ in TT_Process_Simple_Glyph() local 952 x_scale = FT_MulDiv( ((TT_Size)loader->size)->metrics.x_scale, in TT_Process_Simple_Glyph() 974 x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Simple_Glyph() 985 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1134 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Composite_Component() local 1138 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1406 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local [all …]
|
/external/freetype/src/truetype/ |
D | ttgload.c | 790 loader->exec->metrics.x_scale = 1 << 16; in TT_Hint_Glyph() 797 loader->exec->metrics.x_scale = in TT_Hint_Glyph() 798 ((TT_Size)loader->size)->metrics.x_scale; in TT_Hint_Glyph() 935 FT_Fixed x_scale = 0; /* pacify compiler */ in TT_Process_Simple_Glyph() local 956 x_scale = FT_MulDiv( ((TT_Size)loader->size)->metrics.x_scale, in TT_Process_Simple_Glyph() 978 x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Simple_Glyph() 989 vec->x = FT_MulFix( vec->x, x_scale ); in TT_Process_Simple_Glyph() 1138 FT_Fixed x_scale = ((TT_Size)loader->size)->metrics.x_scale; in TT_Process_Composite_Component() local 1142 x = FT_MulFix( x, x_scale ); in TT_Process_Composite_Component() 1413 FT_Fixed x_scale, y_scale; in load_truetype_glyph() local [all …]
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
D | fpdf_render_pattern.cpp | 562 static int _BiInterpol(int c0, int c1, int c2, int c3, int x, int y, int x_scale, int y_scale) in _BiInterpol() argument 564 int x1 = c0 + (c3 - c0) * x / x_scale; in _BiInterpol() 565 int x2 = c1 + (c2 - c1) * x / x_scale; in _BiInterpol() 574 void BiInterpol(Coon_Color colors[4], int x, int y, int x_scale, int y_scale) in BiInterpol() 578 x, y, x_scale, y_scale); in BiInterpol() 602 …void Draw(int x_scale, int y_scale, int left, int bottom, Coon_Bezier C1, Coon_Bezier C2, Coon_Bez… in Draw() 607 div_colors[0].BiInterpol(patch_colors, left, bottom, x_scale, y_scale); in Draw() 609 div_colors[1].BiInterpol(patch_colors, left, bottom + 1, x_scale, y_scale); in Draw() 610 div_colors[2].BiInterpol(patch_colors, left + 1, bottom + 1, x_scale, y_scale); in Draw() 611 div_colors[3].BiInterpol(patch_colors, left + 1, bottom, x_scale, y_scale); in Draw() [all …]
|
/external/freetype/src/base/ |
D | ftobjs.c | 775 metrics->x_scale, 64 ); in FT_Load_Glyph() 2643 metrics->x_scale ) ); in ft_recompute_scaled_metrics() 2655 metrics->x_scale ); in ft_recompute_scaled_metrics() 2676 metrics->x_scale = FT_DivFix( bsize->x_ppem, in FT_Select_Metrics() 2685 metrics->x_scale = 1L << 16; in FT_Select_Metrics() 2695 metrics->x_scale, metrics->x_scale / 65536.0 )); in FT_Select_Metrics() 2742 metrics->x_scale = (FT_Fixed)req->width; in FT_Request_Metrics() 2744 if ( !metrics->x_scale ) in FT_Request_Metrics() 2745 metrics->x_scale = metrics->y_scale; in FT_Request_Metrics() 2747 metrics->y_scale = metrics->x_scale; in FT_Request_Metrics() [all …]
|
/external/opencv/otherlibs/highgui/ |
D | grfmt_jpeg.cpp | 1641 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()
|