Home
last modified time | relevance | path

Searched refs:m_descent (Results 1 – 18 of 18) sorted by relevance

/external/webkit/WebCore/platform/wx/wxcode/gtk/
Dfontprops.cpp42 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties()
53 m_descent = static_cast<int>(font_extents.descent); in wxFontProperties()
58 m_lineGap = m_lineSpacing - m_ascent - m_descent; in wxFontProperties()
79 m_descent = PANGO_PIXELS(pango_font_metrics_get_descent(metrics)); in wxFontProperties()
88 m_lineGap = (m_ascent + m_descent) / 4; // FIXME: How can we calculate this via Pango? in wxFontProperties()
89 m_lineSpacing = m_ascent + m_descent; in wxFontProperties()
/external/webkit/WebCore/platform/graphics/gtk/
DSimpleFontDataGtk.cpp54 m_descent = static_cast<int>(font_extents.descent); in platformInit()
61 if (m_lineSpacing < m_ascent + m_descent) in platformInit()
62 m_lineSpacing = m_ascent + m_descent; in platformInit()
67 m_lineGap = m_lineSpacing - m_ascent - m_descent; in platformInit()
DSimpleFontDataPango.cpp53 m_descent = static_cast<int>(font_extents.descent); in platformInit()
60 if (m_lineSpacing < m_ascent + m_descent) in platformInit()
61 m_lineSpacing = m_ascent + m_descent; in platformInit()
66 m_lineGap = m_lineSpacing - m_ascent - m_descent; in platformInit()
/external/webkit/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp42 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties()
54 m_descent = lroundf(tm.tmDescent); in wxFontProperties()
57 m_lineSpacing = m_lineGap + m_ascent + m_descent; in wxFontProperties()
/external/webkit/WebCore/platform/wx/wxcode/
Dfontprops.h37 float GetDescent() { return m_descent; } in GetDescent()
44 float m_descent; variable
/external/webkit/WebCore/platform/graphics/chromium/
DSimpleFontDataLinux.cpp82 m_descent = -vdmxDescent; in platformInit()
86 m_descent = SkScalarRound(height) - m_ascent; in platformInit()
97 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DSimpleFontDataChromiumWin.cpp74 m_descent = textMetric.tmDescent; in platformInit()
88 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
/external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
Dfontprops.cpp43 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties()
77 m_descent = lroundf(fDescent); in wxFontProperties()
82 m_lineSpacing = m_ascent + m_descent + m_lineGap; in wxFontProperties()
/external/webkit/WebCore/platform/graphics/win/
DSimpleFontDataCairoWin.cpp67 m_descent = lroundf(textMetrics.tmDescent * metricsMultiplier); in platformInit()
70 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DSimpleFontDataCGWin.cpp97 m_descent = lroundf(fDescent); in platformInit()
99 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DSimpleFontDataWin.cpp74 m_descent = textMetrics.tmDescent; in initGDIFont()
76 m_lineSpacing = m_ascent + m_descent + m_lineGap; in initGDIFont()
/external/webkit/WebCore/platform/graphics/wince/
DSimpleFontDataWince.cpp55 m_descent = (tm.tmDescent * m_platformData.size() + 36) / 72; in platformInit()
57 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
/external/webkit/WebCore/platform/graphics/
DSimpleFontData.cpp72 m_descent = static_cast<int>(svgFontFaceElement->descent() * scale); in SimpleFontData()
75 m_lineSpacing = m_ascent + m_descent + m_lineGap; in SimpleFontData()
DSimpleFontData.h69 int descent() const { return m_descent; } in descent()
169 int m_descent; variable
/external/webkit/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp46 m_descent = fm.descent(); in platformInit()
/external/webkit/WebCore/platform/graphics/wx/
DSimpleFontDataWx.cpp52 m_descent = props.GetDescent(); in platformInit()
/external/webkit/WebCore/platform/graphics/android/
DFontDataAndroid.cpp61 m_descent = d; in platformInit()
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm251 m_descent = lroundf(fDescent);
253 m_lineSpacing = m_ascent + m_descent + m_lineGap;
257 if (m_descent < 3 && m_lineGap >= 3 && [familyName hasPrefix:@"Hiragino"]) {
258 m_lineGap -= 3 - m_descent;
259 m_descent = 3;