/external/skia/src/ports/ |
H A D | SkFontHost_FreeType.cpp | 1564 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale)
|
/external/qemu/android/skin/ |
H A D | window.c | 1352 double x_scale, y_scale; local 1360 y_scale = window_h * 1.0 / layout_h; 1362 scale = (x_scale <= y_scale) ? x_scale : y_scale;
|
/external/qemu/distrib/sdl-1.2.15/src/video/ps3/spulibs/ |
H A D | bilin_scaler.c | 170 float y_scale = (float)src_height/(float)dst_height; local 206 curr_src_y_lower = ((float)curr_interpl_y_upper+1)*y_scale; 232 next_src_vu = ((float)dst_vu+1)*y_scale; 233 next_src_y_upper = ((float)dst_y+2)*y_scale; 234 next_src_y_lower = ((float)dst_y+3)*y_scale; 476 float y_scale = (float)src_height/(float)dst_height; local 512 curr_src_y_lower = ((float)curr_interpl_y_upper+1)*y_scale; 537 next_src_vu = ((float)dst_vu+1)*y_scale; 538 next_src_y_upper = ((float)dst_y+2)*y_scale; 539 next_src_y_lower = ((float)dst_y+3)*y_scale; 774 float y_scale = (float)src_height/(float)dst_height; local 1063 float y_scale = (float)src_height/(float)dst_height; local [all...] |
/external/pdfium/core/include/thirdparties/freetype/freetype/ |
H A D | freetype.h | 1340 /* y_scale :: A 16.16 fractional scaling value used to convert */
1379 FT_Fixed y_scale; /* units to 26.6 fractional pixels */
member in struct:FT_Size_Metrics_
|
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/ |
H A D | pshints.h | 51 FT_Fixed y_scale,
|
/external/pdfium/core/src/fpdfapi/fpdf_render/ |
H A D | fpdf_render_pattern.cpp | 563 static int _BiInterpol(int c0, int c1, int c2, int c3, int x, int y, int x_scale, int y_scale)
argument 567 return x1 + (x2 - x1) * y / y_scale;
575 void BiInterpol(Coon_Color colors[4], int x, int y, int x_scale, int y_scale)
argument 579 x, y, x_scale, y_scale);
603 void Draw(int x_scale, int y_scale, int left, int bottom, Coon_Bezier C1, Coon_Bezier C2, Coon_Bezier D1, Coon_Bezier D2)
argument 608 div_colors[0].BiInterpol(patch_colors, left, bottom, x_scale, y_scale);
610 div_colors[1].BiInterpol(patch_colors, left, bottom + 1, x_scale, y_scale);
611 div_colors[2].BiInterpol(patch_colors, left + 1, bottom + 1, x_scale, y_scale);
612 div_colors[3].BiInterpol(patch_colors, left + 1, bottom, x_scale, y_scale);
635 y_scale * [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/ |
H A D | freetype.h | 1340 /* y_scale :: A 16.16 fractional scaling value used to convert */ 1379 FT_Fixed y_scale; /* units to 26.6 fractional pixels */ member in struct:FT_Size_Metrics_
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/ |
H A D | pshints.h | 51 FT_Fixed y_scale,
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/ |
H A D | ftadvanc.c | 43 scale = face->size->metrics.y_scale;
|
H A D | ftobjs.c | 768 metrics->y_scale, 64 ); 2596 metrics->y_scale ) ); 2599 metrics->y_scale ) ); 2602 metrics->y_scale ) ); 2608 metrics->y_scale ); 2611 metrics->y_scale ); 2614 metrics->y_scale ); 2640 metrics->y_scale = FT_DivFix( bsize->y_ppem, 2648 metrics->y_scale = 1L << 16; 2659 metrics->y_scale, metric [all...] |
H A D | ftpfr.c | 66 FT_Fixed x_scale, y_scale; local 76 x_scale = y_scale = 0x10000L; 80 y_scale = face->size->metrics.y_scale; 87 *ametrics_y_scale = y_scale;
|
H A D | ftsynth.c | 99 face->size->metrics.y_scale ) / 24;
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
H A D | cf2ft.c | 227 CF2_Fixed* y_scale, 241 *y_scale = FT_DivFix( decoder->builder.glyph->y_scale, 250 *y_scale = 0x0400; 225 cf2_getScaleAndHintFlag( CFF_Decoder* decoder, CF2_Fixed* x_scale, CF2_Fixed* y_scale, FT_Bool* hinted, FT_Bool* scaled ) argument
|
H A D | cffgload.c | 2651 glyph->y_scale = 0x10000L; 2655 glyph->y_scale = size->root.metrics.y_scale; 2787 glyph->y_scale = FT_MulDiv( glyph->y_scale, top_upm, sub_upm ); 2858 /* 0x400 for both `x_scale' and `y_scale' in this case) */ 3031 FT_Fixed y_scale = glyph->y_scale; local 3039 vec->y = FT_MulFix( vec->y, y_scale ); 3044 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale ); [all...] |
H A D | cffobjs.c | 234 size->metrics.x_scale, size->metrics.y_scale, 241 FT_Pos x_scale, y_scale; local 247 y_scale = FT_MulDiv( size->metrics.y_scale, top_upm, sub_upm ); 252 y_scale = size->metrics.y_scale; 256 x_scale, y_scale, 0, 0 ); 306 size->metrics.x_scale, size->metrics.y_scale, 313 FT_Pos x_scale, y_scale; local 319 y_scale [all...] |
H A D | cffobjs.h | 79 FT_Fixed y_scale; member in struct:CFF_GlyphSlotRec_
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/ |
H A D | cidgload.c | 295 glyph->y_scale = cidsize->metrics.y_scale; 404 FT_Fixed y_scale = glyph->y_scale; local 412 vec->y = FT_MulFix( vec->y, y_scale ); 417 metrics->vertAdvance = FT_MulFix( metrics->vertAdvance, y_scale );
|
H A D | cidobjs.c | 169 size->metrics.y_scale,
|
H A D | cidobjs.h | 109 FT_Fixed y_scale; member in struct:CID_GlyphSlotRec_
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
H A D | pshalgo.c | 2219 /* try to optimize the y_scale so that the top of non-capital letters 2227 FT_Fixed y_scale = dim_y->scale_mult; local 2230 FT_Fixed old_y_scale = y_scale; 2238 scaled = FT_MulFix( globals->blues.normal_top.zones->org_ref, y_scale ); 2245 y_scale = FT_MulDiv( y_scale, fitted, scaled ); 2250 psh_globals_set_scale( glyph->globals, x_scale, y_scale, 0, 0 );
|
H A D | pshglob.c | 764 FT_Fixed y_scale, 782 if ( y_scale != dim->scale_mult || 785 dim->scale_mult = y_scale; 789 psh_blues_scale_zones( &globals->blues, y_scale, y_delta );
|
H A D | pshglob.h | 173 FT_Fixed y_scale,
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/ |
H A D | ttgload.c | 778 loader->exec->metrics.y_scale = 1 << 16; 786 loader->exec->metrics.y_scale = 787 ((TT_Size)loader->size)->metrics.y_scale; 941 FT_Fixed y_scale = 0; local 963 y_scale = ((TT_Size)loader->size)->metrics.y_scale; 984 y_scale = ((TT_Size)loader->size)->metrics.y_scale; 995 vec->y = FT_MulFix( vec->y, y_scale ); 1148 FT_Fixed y_scale local 1307 FT_Fixed x_scale, y_scale; local 1717 FT_Fixed y_scale; local [all...] |
H A D | ttinterp.c | 5309 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) 5321 vec.y = FT_MulFix( vec1->y - vec2->y, CUR.metrics.y_scale ); 6447 if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) 6459 vec.y = FT_MulFix( vec1->y - vec2->y, CUR.metrics.y_scale ); 7011 else if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) 7022 CUR.metrics.y_scale ); 7049 else if ( CUR.metrics.x_scale == CUR.metrics.y_scale ) 7059 CUR.metrics.y_scale );
|
H A D | ttobjs.c | 790 metrics->y_scale = 0; 1209 metrics->y_scale = FT_DivFix( metrics->y_ppem << 6, 1213 FT_PIX_ROUND( FT_MulFix( face->root.ascender, metrics->y_scale ) ); 1215 FT_PIX_ROUND( FT_MulFix( face->root.descender, metrics->y_scale ) ); 1217 FT_PIX_ROUND( FT_MulFix( face->root.height, metrics->y_scale ) ); 1234 size->ttmetrics.scale = metrics->y_scale;
|