OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:scaleEmToUnits
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataChromiumWin.cpp
49
static inline float
scaleEmToUnits
(float x, int unitsPerEm)
/external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCGWin.cpp
50
static inline float
scaleEmToUnits
(float x, unsigned unitsPerEm) { return unitsPerEm ? x / static_cast<float>(unitsPerEm) : x; }
68
float fAscent =
scaleEmToUnits
(iAscent, unitsPerEm) * pointSize;
69
float fDescent = -
scaleEmToUnits
(iDescent, unitsPerEm) * pointSize;
70
float fLineGap =
scaleEmToUnits
(iLineGap, unitsPerEm) * pointSize;
107
m_fontMetrics.setXHeight(
scaleEmToUnits
(CGRectGetMaxY(xBox), unitsPerEm) * pointSize);
110
m_fontMetrics.setXHeight(
scaleEmToUnits
(iXHeight, unitsPerEm) * pointSize);
/external/webkit/Source/WebCore/rendering/
RenderTextControl.cpp
558
float RenderTextControl::
scaleEmToUnits
(int x) const
Completed in 153 milliseconds