Home
last modified time | relevance | path

Searched refs:m_ascent (Results 1 – 21 of 21) 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()
52 m_ascent = static_cast<int>(font_extents.ascent); in wxFontProperties()
58 m_lineGap = m_lineSpacing - m_ascent - m_descent; in wxFontProperties()
78 m_ascent = PANGO_PIXELS(pango_font_metrics_get_ascent(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/chromium/
DSimpleFontDataLinux.cpp81 m_ascent = vdmxAscent; in platformInit()
85 m_ascent = SkScalarRound(-metrics.fAscent); in platformInit()
86 m_descent = SkScalarRound(height) - m_ascent; in platformInit()
93 m_xHeight = static_cast<float>(m_ascent) * 0.56; in platformInit()
97 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DSimpleFontDataChromiumWin.cpp73 m_ascent = textMetric.tmAscent; in platformInit()
76 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in platformInit()
88 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DUniscribeHelper.h147 m_ascent = ascent; in setAscent()
384 int m_ascent; variable
DUniscribeHelper.cpp117 , m_ascent(0) in UniscribeHelper()
404 origin.fY = y + m_ascent - shaping.m_ascentOffset; in draw()
547 int ascent = m_ascent; in shape()
681 shaping.m_ascentOffset = m_ascent ? ascent - m_ascent : 0; in shape()
/external/webkit/WebCore/platform/graphics/gtk/
DSimpleFontDataGtk.cpp53 m_ascent = static_cast<int>(font_extents.ascent); 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.cpp52 m_ascent = static_cast<int>(font_extents.ascent); 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()
53 m_ascent = lroundf(tm.tmAscent); in wxFontProperties()
55 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in wxFontProperties()
57 m_lineSpacing = m_lineGap + m_ascent + m_descent; in wxFontProperties()
/external/webkit/WebCore/platform/graphics/
DSimpleFontData.cpp71 m_ascent = static_cast<int>(svgFontFaceElement->ascent() * scale); in SimpleFontData()
75 m_lineSpacing = m_ascent + m_descent + m_lineGap; in SimpleFontData()
89 …m_maxCharWidth = letterWGlyphs.isEmpty() ? m_ascent : static_cast<float>(letterWGlyphs.first().hor… in SimpleFontData()
125 m_maxCharWidth = max<float>(m_avgCharWidth, m_ascent); in initCharWidths()
DSimpleFontData.h68 int ascent() const { return m_ascent; } in ascent()
168 int m_ascent; variable
/external/webkit/WebCore/platform/graphics/win/
DSimpleFontDataCairoWin.cpp66 m_ascent = lroundf(textMetrics.tmAscent * metricsMultiplier); in platformInit()
68 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in platformInit()
70 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
DSimpleFontDataWin.cpp73 m_ascent = textMetrics.tmAscent; in initGDIFont()
76 m_lineSpacing = m_ascent + m_descent + m_lineGap; in initGDIFont()
79 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight if no x glyph is present. in initGDIFont()
DSimpleFontDataCGWin.cpp96 m_ascent = lroundf(fAscent); in platformInit()
99 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
/external/webkit/WebCore/platform/graphics/wince/
DSimpleFontDataWince.cpp54 m_ascent = (tm.tmAscent * m_platformData.size() + 36) / 72; in platformInit()
57 m_lineSpacing = m_ascent + m_descent + m_lineGap; in platformInit()
58 m_xHeight = m_ascent * 0.56f; in platformInit()
/external/webkit/WebCore/platform/wx/wxcode/
Dfontprops.h36 float GetAscent() { return m_ascent; } in GetAscent()
43 float m_ascent;
/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()
76 m_ascent = lroundf(fAscent); in wxFontProperties()
82 m_lineSpacing = m_ascent + m_descent + m_lineGap; in wxFontProperties()
/external/webkit/WebCore/platform/graphics/qt/
DSimpleFontDataQt.cpp45 m_ascent = fm.ascent(); in platformInit()
/external/webkit/WebCore/platform/graphics/wx/
DSimpleFontDataWx.cpp51 m_ascent = props.GetAscent(); in platformInit()
/external/webkit/WebCore/platform/graphics/android/
DFontDataAndroid.cpp60 m_ascent = a; in platformInit()
/external/webkit/WebCore/platform/graphics/mac/
DSimpleFontDataMac.mm250 m_ascent = lroundf(fAscent);
253 m_lineSpacing = m_ascent + m_descent + m_lineGap;
/external/webkit/WebCore/
DChangeLog-2009-06-1615283 maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent
15285 maxCharWidth = max of avgCharWidth and m_ascent
18644 maxCharWidth = width of a 'W' for roman fonts, fallback on m_ascent
18646 maxCharWidth = max of avgCharWidth and m_ascent