Searched defs:unitsPerEm (Results 1 - 10 of 10) sorted by relevance

/external/webkit/WebCore/platform/graphics/chromium/
H A DSimpleFontDataChromiumWin.cpp49 static inline float scaleEmToUnits(float x, int unitsPerEm) argument
51 return unitsPerEm ? x / static_cast<float>(unitsPerEm) : x;
/external/webkit/WebCore/platform/graphics/win/
H A DSimpleFontDataCGWin.cpp51 static inline float scaleEmToUnits(float x, unsigned unitsPerEm) { return unitsPerEm ? x / static_cast<float>(unitsPerEm) : x; } argument
/external/webkit/WebCore/platform/graphics/
H A DFont.h123 unsigned unitsPerEm() const { return primaryFont()->unitsPerEm(); } function in class:WebCore::Font
H A DSimpleFontData.h82 unsigned unitsPerEm() const { return m_unitsPerEm; } function in class:WebCore::SimpleFontData
/external/webkit/WebCore/svg/
H A DSVGFontFaceElement.cpp126 unsigned SVGFontFaceElement::unitsPerEm() const function in class:WebCore::SVGFontFaceElement
230 return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat()));
234 return static_cast<int>(ceilf(unitsPerEm() * 0.8f));
258 return static_cast<int>(ceilf(unitsPerEm() * 0.2f));
H A DSVGFont.cpp45 static inline float convertEmUnitToPixel(float fontSize, float unitsPerEm, float value) argument
47 if (unitsPerEm == 0.0f)
50 return value * fontSize / unitsPerEm;
401 data.scale = convertEmUnitToPixel(font->size(), fontFaceElement->unitsPerEm(), 1.0f);
471 float scale = convertEmUnitToPixel(size(), fontFaceElement->unitsPerEm(), 1.0f);
/external/icu4c/samples/layout/
H A Dsfnt.h153 le_uint16 unitsPerEm; member in struct:HEADTable
/external/icu4c/test/letest/
H A DFontObject.h116 le_uint16 unitsPerEm; member in struct:HEADTable
H A Dsfnt.h282 le_uint16 unitsPerEm; member in struct:HEADTable
/external/webkit/WebCore/platform/graphics/opentype/
H A DOpenTypeUtilities.cpp133 BigEndianUShort unitsPerEm; member in struct:WebCore::headTable

Completed in 390 milliseconds