Searched refs:emSize (Results 1 – 3 of 3) sorted by relevance
/external/skia/tools/ |
D | create_test_font.cpp | 95 static void output_fixed(SkScalar num, int emSize, SkString* out) { in output_fixed() argument 96 int hex = (int) (num * 65536 / emSize); in output_fixed() 101 static void output_scalar(SkScalar num, int emSize, SkString* out) { in output_scalar() argument 102 num /= emSize; in output_scalar() 120 static int output_points(const SkPoint* pts, int emSize, int count, SkString* ptsOut) { in output_points() argument 123 output_scalar(pts[index].fX, emSize, ptsOut); in output_points() 125 output_scalar(pts[index].fY, emSize, ptsOut); in output_points() 131 int emSize, SkString* ptsOut, SkTDArray<SkPath::Verb>* verbs, in output_path_data() argument 147 output_points(&pts[0], emSize, 1, ptsOut); in output_path_data() 150 output_points(&pts[1], emSize, 1, ptsOut); in output_path_data() [all …]
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 276 SkScalar scaleFromFontUnits(int16_t val, uint16_t emSize) { in scaleFromFontUnits() argument 278 if (emSize == 1000) { in scaleFromFontUnits() 281 return SkScalarMulDiv(scaled, 1000, emSize); in scaleFromFontUnits() 300 SkPDFArray* makeFontBBox(SkIRect glyphBBox, uint16_t emSize) { in makeFontBBox() argument 303 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fLeft, emSize)); in makeFontBBox() 304 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fBottom, emSize)); in makeFontBBox() 305 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fRight, emSize)); in makeFontBBox() 306 bbox->appendScalar(scaleFromFontUnits(glyphBBox.fTop, emSize)); in makeFontBBox() 310 SkPDFArray* appendWidth(const int16_t& width, uint16_t emSize, in appendWidth() argument 312 array->appendScalar(scaleFromFontUnits(width, emSize)); in appendWidth() [all …]
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_gdipext.cpp | 349 REAL emSize,
|