Home
last modified time | relevance | path

Searched refs:m_ascent (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/
DFontMetrics.h33 , m_ascent(0) in FontMetrics()
47 return m_ascent;
51 void setAscent(float ascent) { m_ascent = ascent; } in setAscent()
80 return lroundf(m_ascent);
110 m_ascent = 0; in reset()
118 float m_ascent; variable
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
Dfontprops.cpp44 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties()
54 m_ascent = static_cast<int>(font_extents.ascent); in wxFontProperties()
60 m_lineGap = m_lineSpacing - m_ascent - m_descent; in wxFontProperties()
80 m_ascent = PANGO_PIXELS(pango_font_metrics_get_ascent(metrics)); in wxFontProperties()
90 m_lineGap = (m_ascent + m_descent) / 4; // FIXME: How can we calculate this via Pango? in wxFontProperties()
91 m_lineSpacing = m_ascent + m_descent; in wxFontProperties()
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp48 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) in wxFontProperties()
59 m_ascent = lroundf(tm.tmAscent); in wxFontProperties()
61 m_xHeight = m_ascent * 0.56f; // Best guess for xHeight for non-Truetype fonts. in wxFontProperties()
63 m_lineSpacing = m_lineGap + m_ascent + m_descent; in wxFontProperties()
/external/webkit/Source/WebCore/platform/wx/wxcode/
Dfontprops.h36 float GetAscent() { return m_ascent; } in GetAscent()
43 float m_ascent;
/external/webkit/Source/WebCore/platform/graphics/chromium/
DUniscribeHelper.h148 m_ascent = ascent; in setAscent()
393 int m_ascent; variable
DUniscribeHelper.cpp90 , m_ascent(0) in UniscribeHelper()
378 origin.fY = y + m_ascent; in draw()
521 int ascent = m_ascent; in shape()
660 shaping.m_ascentOffset = m_ascent ? ascent - m_ascent : 0; in shape()
/external/webkit/Source/WebCore/platform/wx/wxcode/mac/carbon/
Dfontprops.mm44 m_ascent(0), m_descent(0), m_lineGap(0), m_lineSpacing(0), m_xHeight(0) function
77 m_ascent = lroundf(fAscent);
83 m_lineSpacing = m_ascent + m_descent + m_lineGap;
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1619266 (WebCore::FontMetrics::floatAscent): Returns the stored m_ascent float.
19267 (WebCore::FontMetrics::setAscent): Sets the stored m_ascent float.
19283 …cpp: Adapt SVG Fonts code, to initialize the FontMetrics object, as the m_ascent/etc.. members are…
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