Searched defs:hfont (Results 1 - 18 of 18) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DUniscribeHelperTextRun.cpp44 font.primaryFont()->platformData().hfont(),
69 HFONT hfont,
72 : UniscribeHelper(input, inputLength, isRtl, hfont,
88 HFONT* hfont,
122 m_hfonts.append(simpleFontData->platformData().hfont());
128 *hfont = m_hfonts[m_fontIndex - 1];
65 UniscribeHelperTextRun( const wchar_t* input, int inputLength, bool isRtl, HFONT hfont, SCRIPT_CACHE* scriptCache, SCRIPT_FONTPROPERTIES* fontProperties) argument
87 nextWinFontData( HFONT* hfont, SCRIPT_CACHE** scriptCache, SCRIPT_FONTPROPERTIES** fontProperties, int* ascent) argument
H A DFontPlatformDataChromiumWin.h70 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } function in class:WebCore::FontPlatformData
99 static PassRefPtr<RefCountedHFONT> create(HFONT hfont) argument
101 return adoptRef(new RefCountedHFONT(hfont));
106 HFONT hfont() const { return m_hfont; } function in class:WebCore::FontPlatformData::RefCountedHFONT
120 RefCountedHFONT(HFONT hfont) : m_hfont(hfont) argument
H A DSimpleFontDataChromiumWin.cpp64 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
68 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) {
118 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont);
121 HFONT hfont = CreateFontIndirect(&winFont); local
122 return new SimpleFontData(FontPlatformData(hfont, scaledSize), isCustomFont(), false);
156 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
162 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) {
188 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont());
193 if (PlatformBridge::ensureFontLoaded(m_platformData.hfont())) {
H A DFontUtilsChromiumWin.cpp49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, local
51 if (!hfont)
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
59 DeleteObject(hfont);
242 int getAscent(HFONT hfont) argument
245 HGDIOBJ oldFont = SelectObject(dc, hfont);
253 WORD getSpaceGlyph(HFONT hfont) argument
256 HGDIOBJ oldFont = SelectObject(dc, hfont);
267 : hfont(0)
274 HFONT hfont; member in struct:WebCore::__anon14665::FontData
391 getDerivedFontData(const UChar* family, int style, LOGFONT* logfont, int* ascent, HFONT* hfont, SCRIPT_CACHE** scriptCache, WORD* spaceGlyph) argument
[all...]
H A DFontCacheChromiumWin.cpp246 HFONT hfont = CreateFontIndirect(winfont); local
247 if (!hfont)
251 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
260 return hfont;
287 HFONT hfont = fontData->hfont();
289 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(hdc, hfont));
291 if (!count && PlatformBridge::ensureFontLoaded(hfont))
619 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); local
620 if (!hfont)
[all...]
H A DUniscribeHelper.cpp50 static void setLogFontAndStyle(HFONT hfont, LOGFONT *logfont, int *style) argument
52 ASSERT(hfont && logfont);
53 if (!hfont || !logfont)
56 GetObject(hfont, sizeof(LOGFONT), logfont);
59 // a new font similar to hfont.
74 HFONT hfont,
81 , m_hfont(hfont)
518 HFONT hfont = m_hfont; local
573 oldFont = SelectObject(tempDC, hfont);
590 nextWinFontData(&hfont,
71 UniscribeHelper(const UChar* input, int inputLength, bool isRtl, HFONT hfont, SCRIPT_CACHE* scriptCache, SCRIPT_FONTPROPERTIES* fontProperties, WORD spaceGlyph) argument
[all...]
/external/webkit/Source/WebKit/chromium/tests/
H A DUniscribeHelperTest.cpp58 HFONT hfont = CreateFontIndirect(&lf); local
59 if (!hfont)
64 createdFonts.append(std::make_pair(hfont, *cache));
65 return hfont;
110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache); local
111 ASSERT_TRUE(hfont);
118 false, hfont, scriptCache, &properties, 0);
151 false, hfont, scriptCache, &properties, 0);
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DFontPlatformDataWx.cpp156 HFONT FontPlatformData::hfont() const function in class:WebCore::FontPlatformData
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DFontCustomPlatformData.cpp102 HFONT hfont = CreateFontIndirect(&logFont); local
103 return FontPlatformData(hfont, size);
H A DSkiaFontWin.cpp207 void SkiaWinOutlineCache::removePathsForFont(HFONT hfont) argument
279 static bool skiaDrawText(HFONT hfont, argument
310 const SkPath* path = SkiaWinOutlineCache::lookupOrCreatePathForGlyph(dc, hfont, glyphs[i]);
330 static void setupPaintForFont(HFONT hfont, SkPaint* paint) argument
338 GetObject(hfont, sizeof(info), &info);
350 HFONT hfont,
358 HGDIOBJ oldFont = SelectObject(dc, hfont);
369 setupPaintForFont(hfont, &paint);
374 if (!skiaDrawText(hfont, dc, platformContext, *origin, &paint,
390 setupPaintForFont(hfont,
349 paintSkiaText(GraphicsContext* context, HFONT hfont, int numGlyphs, const WORD* glyphs, const int* advances, const GOFFSET* offsets, const SkPoint* origin) argument
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontPlatformDataCGWin.cpp117 FontPlatformData::FontPlatformData(HFONT hfont, CGFontRef font, float size, bool bold, bool oblique, bool useGDI) argument
124 , m_font(RefCountedGDIHandle<HFONT>::create(hfont))
H A DFontCustomPlatformData.cpp88 HFONT hfont = CreateFontIndirect(&logFont); local
91 return FontPlatformData(hfont, cgFont.get(), size, bold, italic, renderingMode == AlternateRenderingMode);
H A DSimpleFontDataWin.cpp75 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont());
121 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winfont);
123 HFONT hfont = CreateFontIndirect(&winfont); local
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);
193 SelectObject(dc, m_platformData.hfont());
209 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont());
226 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont());
248 SelectObject(dc, m_platformData.hfont());
H A DUniscribeController.cpp252 HFONT hfont = fontData->platformData().hfont(); local
253 HFONT oldFont = (HFONT)SelectObject(hdc, hfont);
395 HFONT hfont = fontData->platformData().hfont(); local
396 oldFont = (HFONT)SelectObject(hdc, hfont);
H A DFontCacheWin.cpp82 static int CALLBACK linkedFontEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM hfont) argument
84 *reinterpret_cast<HFONT*>(hfont) = CreateFontIndirect(logFont);
178 HFONT hfont = 0; local
183 hfont = CreateFontIndirect(&lf);
185 return hfont;
193 HFONT primaryFont = font.primaryFont()->fontDataForCharacter(character)->platformData().hfont();
195 HFONT hfont = 0; local
208 for (unsigned i = 0; i < numCodePages && !hfont; ++i) {
209 hfont = createMLangFont(langFontLink, hdc, CJKCodePageMasks[i]);
210 if (hfont
567 HFONT hfont = createGDIFont(family, weight, fontDescription.italic(), local
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DFontPlatformData.h213 HFONT hfont() const { return m_font ? m_font->handle() : 0; } function in class:WebCore::FontPlatformData
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontCacheWinCE.cpp98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar character, const wchar_t* faceName) argument
101 HRESULT result = langFontLink->GetFontCodePages(hdc, hfont, &fontCodePages);
129 LRESULT result = langFontLink->MapFont(hdc, codePageMask, refFont.hfont(), &mlangFont);
243 HFONT hfont = 0; local
256 hfont = createMLangFont(langFontLink, g_screenDC, CJKCodePageMasks[i]);
258 hfont = createMLangFont(langFontLink, g_screenDC, origFont, CJKCodePageMasks[i]);
260 if (!hfont)
263 SelectObject(g_screenDC, hfont);
266 if (hfont && !(codePages & CJKCodePageMasks[i])) {
272 if (!currentFontContainsCharacter(langFontLink, g_screenDC, hfont, characte
[all...]
H A DFontPlatformData.cpp388 HFONT FontPlatformData::hfont() const function in class:WebCore::FontPlatformData

Completed in 241 milliseconds