OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_fontMetrics
(Results
1 - 15
of
15
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/qt/
SimpleFontDataQt.cpp
44
m_fontMetrics
.reset();
69
m_fontMetrics
.setAscent(ascent);
70
m_fontMetrics
.setDescent(descent);
71
m_fontMetrics
.setLineSpacing(lineSpacing);
72
m_fontMetrics
.setXHeight(fm.xHeight());
73
m_fontMetrics
.setLineGap(lineGap);
/external/webkit/Source/WebCore/platform/graphics/android/
FontDataAndroid.cpp
55
m_fontMetrics
.setAscent(a);
56
m_fontMetrics
.setDescent(d);
57
m_fontMetrics
.setXHeight(SkScalarToFloat(-skiaFontMetrics.fAscent) * 0.56f); // hack I stole from the window's port
58
m_fontMetrics
.setLineSpacing(a + d);
59
m_fontMetrics
.setLineGap(SkScalarToFloat(skiaFontMetrics.fLeading));
/external/webkit/Source/WebCore/platform/graphics/haiku/
SimpleFontDataHaiku.cpp
51
m_fontMetrics
.setAscent(height.ascent);
52
m_fontMetrics
.setDescent(height.descent);
53
m_fontMetrics
.setXHeight(height.ascent * 0.56f); // Hack taken from the win port.
54
m_fontMetrics
.setLineGap(height.leading);
55
m_fontMetrics
.setLineSpacing(lroundf(height.ascent) + lroundf(height.descent) + lroundf(height.leading));
/external/webkit/Source/WebCore/platform/graphics/freetype/
SimpleFontDataFreeType.cpp
54
m_fontMetrics
.setAscent(font_extents.ascent);
55
m_fontMetrics
.setDescent(font_extents.descent);
66
m_fontMetrics
.setLineSpacing(lroundf(lineSpacing));
67
m_fontMetrics
.setLineGap(lineSpacing - font_extents.ascent - font_extents.descent);
70
m_fontMetrics
.setXHeight(text_extents.height);
/external/webkit/Source/WebCore/platform/graphics/pango/
SimpleFontDataPango.cpp
53
m_fontMetrics
.setAscent(font_extents.ascent);
54
m_fontMetrics
.setDescent(font_extents.descent);
64
m_fontMetrics
.setLineSpacing(lroundf(lineSpacing));
65
m_fontMetrics
.setLineGap(lineSpacing - font_extents.ascent - font_extents.descent);
68
m_fontMetrics
.setXHeight(text_extents.height);
/external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCairoWin.cpp
69
m_fontMetrics
.setAscent(ascent);
70
m_fontMetrics
.setDescent(descent);
71
m_fontMetrics
.setLineGap(lineGap);
72
m_fontMetrics
.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
86
m_fontMetrics
.setXHeight(xHeight);
SimpleFontDataCGWin.cpp
95
m_fontMetrics
.setAscent(fAscent);
96
m_fontMetrics
.setDescent(fDescent);
97
m_fontMetrics
.setLineGap(fLineGap);
98
m_fontMetrics
.setLineSpacing(lroundf(fAscent) + lroundf(fDescent) + lroundf(fLineGap));
107
m_fontMetrics
.setXHeight(scaleEmToUnits(CGRectGetMaxY(xBox), unitsPerEm) * pointSize);
110
m_fontMetrics
.setXHeight(scaleEmToUnits(iXHeight, unitsPerEm) * pointSize);
113
m_fontMetrics
.setUnitsPerEm(unitsPerEm);
SimpleFontDataWin.cpp
68
m_fontMetrics
.reset();
82
m_fontMetrics
.setAscent(ascent);
83
m_fontMetrics
.setDescent(descent);
84
m_fontMetrics
.setLineGap(lineGap);
85
m_fontMetrics
.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
96
m_fontMetrics
.setXHeight(xHeight);
97
m_fontMetrics
.setUnitsPerEm(metrics.otmEMSquare);
/external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataChromiumWin.cpp
57
m_fontMetrics
.reset();
96
m_fontMetrics
.setAscent(ascent);
97
m_fontMetrics
.setDescent(descent);
98
m_fontMetrics
.setLineGap(lineGap);
99
m_fontMetrics
.setXHeight(xHeight);
100
m_fontMetrics
.setLineSpacing(ascent + descent + lineGap);
SimpleFontDataLinux.cpp
58
m_fontMetrics
.reset();
100
m_fontMetrics
.setAscent(ascent);
101
m_fontMetrics
.setDescent(descent);
112
m_fontMetrics
.setLineGap(lineGap);
113
m_fontMetrics
.setXHeight(xHeight);
114
m_fontMetrics
.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
/external/webkit/Source/WebCore/platform/graphics/wx/
SimpleFontDataWx.cpp
56
m_fontMetrics
.setAscent(props.GetAscent());
57
m_fontMetrics
.setDescent(props.GetDescent());
58
m_fontMetrics
.setXHeight(props.GetXHeight());
59
m_fontMetrics
.setUnitsPerEm(1); // FIXME!
60
m_fontMetrics
.setLineGap(props.GetLineGap());
61
m_fontMetrics
.setLineSpacing(props.GetLineSpacing());
/external/webkit/Source/WebCore/platform/graphics/
SimpleFontData.cpp
97
m_fontMetrics
.setUnitsPerEm(unitsPerEm);
98
m_fontMetrics
.setAscent(ascent);
99
m_fontMetrics
.setDescent(descent);
100
m_fontMetrics
.setLineGap(lineGap);
101
m_fontMetrics
.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
102
m_fontMetrics
.setXHeight(xHeight);
141
m_avgCharWidth =
m_fontMetrics
.xHeight();
144
m_maxCharWidth = max(m_avgCharWidth,
m_fontMetrics
.floatAscent());
SimpleFontData.h
107
const FontMetrics& fontMetrics() const { return
m_fontMetrics
; }
206
FontMetrics
m_fontMetrics
;
/external/webkit/Source/WebCore/platform/graphics/wince/
SimpleFontDataWinCE.cpp
55
m_fontMetrics
.setAscent(ascent);
56
m_fontMetrics
.setDescent(descent);
57
m_fontMetrics
.setLineGap(lineGap);
58
m_fontMetrics
.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
59
m_fontMetrics
.setXHeight(ascent * 0.56f);
/external/webkit/Source/WebCore/platform/graphics/mac/
SimpleFontDataMac.mm
255
m_fontMetrics
.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
291
m_fontMetrics
.setUnitsPerEm(unitsPerEm);
292
m_fontMetrics
.setAscent(ascent);
293
m_fontMetrics
.setDescent(descent);
294
m_fontMetrics
.setLineGap(lineGap);
295
m_fontMetrics
.setXHeight(xHeight);
332
m_avgCharWidth = scaleEmToUnits(os2AvgCharWidth,
m_fontMetrics
.unitsPerEm()) * m_platformData.m_size;
343
m_maxCharWidth = scaleEmToUnits(diff,
m_fontMetrics
.unitsPerEm()) * m_platformData.m_size;
Completed in 724 milliseconds