Home
last modified time | relevance | path

Searched refs:m_maxCharWidth (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/fonts/
DSimpleFontData.cpp43 : m_maxCharWidth(-1) in SimpleFontData()
98 if (m_maxCharWidth <= 0.f) in initCharWidths()
99 m_maxCharWidth = max(m_avgCharWidth, m_fontMetrics.floatAscent()); in initCharWidths()
DSimpleFontData.h111 float maxCharWidth() const { return m_maxCharWidth; } in maxCharWidth()
112 void setMaxCharWidth(float maxCharWidth) { m_maxCharWidth = maxCharWidth; } in setMaxCharWidth()
195 float m_maxCharWidth; variable
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
DSimpleFontDataSkia.cpp58 m_maxCharWidth = 0; in platformInit()
138 m_maxCharWidth = SkScalarRound(metrics.fMaxCharWidth); in platformInit()
143 m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(m_platformData.size())); in platformInit()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
DSimpleFontDataWin.cpp54 m_maxCharWidth = 0; in platformInit()
73 m_maxCharWidth = textMetric.tmMaxCharWidth; in platformInit()
/external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
DSimpleFontDataMac.mm266 m_maxCharWidth = 0;
283 m_maxCharWidth = scaleEmToUnits(diff, m_fontMetrics.unitsPerEm()) * m_platformData.m_size;