Searched refs:y_scale (Results 1 - 25 of 132) sorted by last modified time

123456

/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp1564 strength = FT_MulFix(face->units_per_EM, face->size->metrics.y_scale)
/external/qemu/android/skin/
H A Dwindow.c1352 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 Dbilin_scaler.c170 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 Dfreetype.h1340 /* 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 Dpshints.h51 FT_Fixed y_scale,
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_pattern.cpp563 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 Dfreetype.h1340 /* 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 Dpshints.h51 FT_Fixed y_scale,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftadvanc.c43 scale = face->size->metrics.y_scale;
H A Dftobjs.c768 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 Dftpfr.c66 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 Dftsynth.c99 face->size->metrics.y_scale ) / 24;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcf2ft.c227 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 Dcffgload.c2651 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 Dcffobjs.c234 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 Dcffobjs.h79 FT_Fixed y_scale; member in struct:CFF_GlyphSlotRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/
H A Dcidgload.c295 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 Dcidobjs.c169 size->metrics.y_scale,
H A Dcidobjs.h109 FT_Fixed y_scale; member in struct:CID_GlyphSlotRec_
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
H A Dpshalgo.c2219 /* 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 Dpshglob.c764 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 Dpshglob.h173 FT_Fixed y_scale,
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
H A Dttgload.c778 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 Dttinterp.c5309 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 Dttobjs.c790 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;

Completed in 286 milliseconds

123456