OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:m_platformData
(Results
1 - 16
of
16
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/freetype/
SimpleFontDataFreeType.cpp
52
cairo_scaled_font_extents(
m_platformData
.scaledFont(), &font_extents);
69
cairo_scaled_font_text_extents(
m_platformData
.scaledFont(), "x", &text_extents);
72
cairo_scaled_font_text_extents(
m_platformData
.scaledFont(), " ", &text_extents);
75
m_syntheticBoldOffset =
m_platformData
.syntheticBold() ? 1.0f : 0.f;
91
return new SimpleFontData(FontPlatformData(cairo_scaled_font_get_font_face(
m_platformData
.scaledFont()),
92
scaleFactor * fontDescription.computedSize(),
m_platformData
.syntheticBold(),
m_platformData
.syntheticOblique()),
119
FT_Face face = cairo_ft_scaled_font_lock_face(
m_platformData
.scaledFont());
126
cairo_ft_scaled_font_unlock_face(
m_platformData
.scaledFont());
131
cairo_ft_scaled_font_unlock_face(
m_platformData
.scaledFont())
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/wince/
SimpleFontDataWinCE.cpp
46
if (!
m_platformData
.isValid())
49
const TEXTMETRIC& tm =
m_platformData
.metrics();
50
m_isSystemFont =
m_platformData
.isSystemFont();
52
float ascent = (tm.tmAscent *
m_platformData
.size() + 36) / 72.0f;
53
float descent = (tm.tmDescent *
m_platformData
.size() + 36) / 72.0f;
54
float lineGap = (tm.tmExternalLeading *
m_platformData
.size() + 36) / 72.0f;
72
FontPlatformData* result = fontCache()->getCachedFontPlatformData(fontDesc,
m_platformData
.family());
100
if (
m_platformData
.isDisabled())
116
DWORD fontCodePages =
m_platformData
.codePages();
139
if (!
m_platformData
.isValid()
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/mac/
SimpleFontDataATSUI.mm
52
ATSUFontID fontID =
m_platformData
.ctFont() ? CTFontGetPlatformFont(
m_platformData
.ctFont(), 0) : 0;
54
LOG_ERROR("unable to get ATSUFontID for %@",
m_platformData
.font());
SimpleFontDataMac.mm
157
m_syntheticBoldOffset =
m_platformData
.m_syntheticBold ? 1.0f : 0.f;
169
if ([[
m_platformData
.font() familyName] isEqual:@"Times"])
177
RetainPtr<NSFont> initialFont =
m_platformData
.font();
179
if (
m_platformData
.font())
180
m_platformData
.setFont([[NSFontManager sharedFontManager] convertFont:
m_platformData
.font() toFamily:fallbackFontFamily]);
182
m_platformData
.setFont([NSFont fontWithName:fallbackFontFamily size:
m_platformData
.size()]);
192
m_platformData
.setFont([[NSFontManager sharedFontManager] convertFont:
m_platformData
.font() toFamily:webFallbackFontFamily()])
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/qt/
SimpleFontDataQt.cpp
33
m_treatAsFixedPitch =
m_platformData
.font().fixedPitch();
43
if (!
m_platformData
.size()) {
50
QFontMetricsF fm(
m_platformData
.font());
79
if (!
m_platformData
.size())
89
if (!
m_platformData
.size())
91
QFontMetrics fm(
m_platformData
.font());
/external/webkit/Source/WebCore/platform/graphics/pango/
SimpleFontDataPango.cpp
51
cairo_scaled_font_extents(
m_platformData
.m_scaledFont, &font_extents);
67
cairo_scaled_font_text_extents(
m_platformData
.m_scaledFont, "x", &text_extents);
70
cairo_scaled_font_text_extents(
m_platformData
.m_scaledFont, " ", &text_extents);
73
m_syntheticBoldOffset =
m_platformData
.syntheticBold() ? 1.0f : 0.f;
119
PangoCoverage* coverage = pango_font_get_coverage(
m_platformData
.m_font, pango_language_get_default());
140
m_treatAsFixedPitch =
m_platformData
.isFixedPitch();
150
ASSERT(
m_platformData
.m_scaledFont);
154
cairo_scaled_font_glyph_extents(
m_platformData
.m_scaledFont, &cglyph, 1, &extents);
157
if (cairo_scaled_font_status(
m_platformData
.m_scaledFont) == CAIRO_STATUS_SUCCESS && extents.x_advance != 0)
/external/webkit/Source/WebCore/platform/graphics/win/
SimpleFontDataCGWin.cpp
54
m_syntheticBoldOffset =
m_platformData
.syntheticBold() ? 1.0f : 0.f;
59
if (
m_platformData
.useGDI())
62
CGFontRef font =
m_platformData
.cgFont();
67
float pointSize =
m_platformData
.size();
74
HGDIOBJ oldFont = SelectObject(dc,
m_platformData
.hfont());
119
if (!
m_platformData
.useGDI()) {
127
if (
m_platformData
.useGDI())
131
CGFontGetGlyphBBoxes(
m_platformData
.cgFont(), &glyph, 1, &box);
132
float pointSize =
m_platformData
.size();
143
if (
m_platformData
.useGDI()
[
all
...]
SimpleFontDataCairoWin.cpp
50
m_syntheticBoldOffset =
m_platformData
.syntheticBold() ? 1.0f : 0.f;
52
if (
m_platformData
.useGDI())
58
cairo_scaled_font_t* scaledFont =
m_platformData
.scaledFont();
59
const double metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) *
m_platformData
.size();
104
if (
m_platformData
.useGDI())
112
if (
m_platformData
.useGDI())
118
cairo_scaled_font_t* scaledFont =
m_platformData
.scaledFont();
129
const double metricsMultiplier = cairo_win32_scaled_font_get_metrics_factor(scaledFont) *
m_platformData
.size();
SimpleFontDataWin.cpp
67
if (!
m_platformData
.size()) {
75
HGDIOBJ oldFont = SelectObject(hdc,
m_platformData
.hfont());
113
float scaledSize = scaleFactor *
m_platformData
.size();
115
FontPlatformData scaledFont(
m_platformData
);
121
GetObject(
m_platformData
.hfont(), sizeof(LOGFONT), &winfont);
122
winfont.lfHeight = -lroundf(scaledSize * (
m_platformData
.useGDI() ? 1 : 32));
124
return new SimpleFontData(FontPlatformData(hfont, scaledSize,
m_platformData
.syntheticBold(),
m_platformData
.syntheticOblique(),
m_platformData
.useGDI()), isCustomFont(), false);
166
langFontLink->GetFontCodePages(dc,
m_platformData
.hfont(), &fontCodePages)
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/android/
FontDataAndroid.cpp
48
m_platformData
.setupPaint(&paint);
78
m_derivedFontData->smallCaps = new SimpleFontData(FontPlatformData(
m_platformData
, fontDescription.computedSize() * 0.7f));
88
m_derivedFontData->emphasisMark = new SimpleFontData(FontPlatformData(
m_platformData
, fontDescription.computedSize() * 0.5f));
97
m_platformData
.setupPaint(&paint);
104
m_treatAsFixedPitch =
m_platformData
.isFixedPitch();
118
m_platformData
.setupPaint(&paint);
/external/webkit/Source/WebCore/platform/graphics/haiku/
SimpleFontDataHaiku.cpp
45
const BFont* font =
m_platformData
.font();
105
m_treatAsFixedPitch =
m_platformData
.font() &&
m_platformData
.font()->IsFixed();
111
if (!
m_platformData
.font())
117
m_platformData
.font()->GetEscapements(encoded.data(), 1, escapements);
118
metrics.horizontalAdvance = escapements[0] *
m_platformData
.font()->Size();
/external/webkit/Source/WebCore/platform/graphics/wx/
SimpleFontDataWx.cpp
53
wxFont *font =
m_platformData
.font();
125
return wxFontContainsCharacters(
m_platformData
.hfont(), characters, length);
127
return wxFontContainsCharacters(
m_platformData
.nsFont(), characters, length);
134
if (
m_platformData
.font() &&
m_platformData
.font()->Ok())
135
m_treatAsFixedPitch =
m_platformData
.font()->IsFixedWidth();
151
float pointSize =
m_platformData
.size();
154
NSFont* nsfont = (NSFont*)
m_platformData
.nsFont();
155
if (!wkGetGlyphTransformedAdvances(
m_platformData
.cgFont(), nsfont, &m, &glyph, &advance)) {
163
GetTextExtent(*
m_platformData
.font(), (wxChar)glyph, &width, NULL)
[
all
...]
/external/webkit/Source/WebCore/platform/graphics/chromium/
SimpleFontDataChromiumWin.cpp
56
if (!
m_platformData
.size()) {
64
HGDIOBJ oldFont = SelectObject(dc,
m_platformData
.hfont());
68
if (PlatformBridge::ensureFontLoaded(
m_platformData
.hfont())) {
118
GetObject(
m_platformData
.hfont(), sizeof(LOGFONT), &winFont);
156
HGDIOBJ oldFont = SelectObject(dc,
m_platformData
.hfont());
162
if (PlatformBridge::ensureFontLoaded(
m_platformData
.hfont())) {
184
if (!
m_platformData
.size())
188
HGDIOBJ oldFont = SelectObject(dc,
m_platformData
.hfont());
193
if (PlatformBridge::ensureFontLoaded(
m_platformData
.hfont())) {
SimpleFontDataLinux.cpp
57
if (!
m_platformData
.size()) {
67
m_platformData
.setupPaint(&paint);
69
const SkFontID fontID =
m_platformData
.uniqueID();
72
int pixelSize =
m_platformData
.size() + 0.5;
130
m_maxCharWidth = SkScalarRound(xRange * SkScalarRound(
m_platformData
.size()));
161
return new SimpleFontData(FontPlatformData(
m_platformData
, scaledSize), isCustomFont(), false);
190
m_platformData
.setupPaint(&paint);
222
if (!
m_platformData
.size())
229
m_platformData
.setupPaint(&paint);
/external/webkit/Source/WebCore/platform/graphics/
SimpleFontData.h
80
const FontPlatformData& platformData() const { return
m_platformData
; }
149
NSFont* getNSFont() const { return
m_platformData
.font(); }
151
NSFont* getNSFont() const { return
m_platformData
.nsFont(); }
169
QFont getQtFont() const { return
m_platformData
.font(); }
183
wxFont* getWxFont() const { return
m_platformData
.font(); }
210
FontPlatformData
m_platformData
;
SimpleFontData.cpp
53
,
m_platformData
(platformData)
68
:
m_platformData
(FontPlatformData(size, syntheticBold, syntheticItalic))
212
FontPlatformData verticalRightPlatformData(
m_platformData
);
224
m_derivedFontData->uprightOrientation = new SimpleFontData(
m_platformData
, isCustomFont(), false, true);
233
m_derivedFontData->brokenIdeograph = new SimpleFontData(
m_platformData
, isCustomFont(), false);
Completed in 522 milliseconds