Home
last modified time | relevance | path

Searched refs:HFONT (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontPlatformDataChromiumWin.h45 typedef struct HFONT__ *HFONT; typedef
60 FontPlatformData(HFONT, float size);
70 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } in hfont()
99 static PassRefPtr<RefCountedHFONT> create(HFONT hfont) in create()
106 HFONT hfont() const { return m_hfont; } in hfont()
109 return StringHasher::hashMemory<sizeof(HFONT)>(&m_hfont); in hash()
120 RefCountedHFONT(HFONT hfont) : m_hfont(hfont) in RefCountedHFONT()
124 HFONT m_hfont;
DUniscribeHelperTextRun.h55 HFONT hfont,
60 virtual void tryToPreloadFont(HFONT);
69 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent);
85 Vector<HFONT, kNumberOfFonts> m_hfonts;
DUniscribeHelper.h77 HFONT,
215 virtual void tryToPreloadFont(HFONT) {} in tryToPreloadFont() argument
317 HFONT m_hfont;
367 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent) in nextWinFontData() argument
390 HFONT m_hfont;
DUniscribeHelperTextRun.cpp69 HFONT hfont, in UniscribeHelperTextRun()
79 void UniscribeHelperTextRun::tryToPreloadFont(HFONT font) in tryToPreloadFont()
88 HFONT* hfont, in nextWinFontData()
DFontPlatformDataChromiumWin.cpp60 FontPlatformData::FontPlatformData(HFONT font, float size) in FontPlatformData()
112 if (m_hfont != reinterpret_cast<HFONT>(-1)) { in ~RefCountedHFONT()
121 RefCountedHFONT::create(reinterpret_cast<HFONT>(-1)); in hashTableDeletedFontValue()
DFontUtilsChromiumWin.cpp49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in isFontPresent()
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont)); in isFontPresent()
242 int getAscent(HFONT hfont) in getAscent()
253 WORD getSpaceGlyph(HFONT hfont) in getSpaceGlyph()
274 HFONT hfont;
395 HFONT* hfont, in getDerivedFontData()
DFontCacheChromiumWin.cpp240 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winNam… in createFontIndirectAndGetWinName()
246 HFONT hfont = CreateFontIndirect(winfont); in createFontIndirectAndGetWinName()
251 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont)); in createFontIndirectAndGetWinName()
287 HFONT hfont = fontData->hfont(); in fontContainsCharacter()
289 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(hdc, hfont)); in fontContainsCharacter()
550 if (HFONT defaultGUIFont = static_cast<HFONT>(GetStockObject(DEFAULT_GUI_FONT))) { in getLastResortFallbackFont()
619 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); in createFontPlatformData()
/external/webkit/Source/WebCore/platform/graphics/skia/
DSkiaFontWin.h48 static const SkPath* lookupOrCreatePathForGlyph(HDC, HFONT, WORD);
51 static void removePathsForFont(HFONT);
89 HFONT hfont,
DSkiaFontWin.cpp51 CachedOutlineKey(HFONT f, WORD g) : font(f), glyph(g), path(0) {} in CachedOutlineKey()
53 HFONT font;
182 const SkPath* SkiaWinOutlineCache::lookupOrCreatePathForGlyph(HDC hdc, HFONT font, WORD glyph) in lookupOrCreatePathForGlyph()
207 void SkiaWinOutlineCache::removePathsForFont(HFONT hfont) in removePathsForFont()
279 static bool skiaDrawText(HFONT hfont, in skiaDrawText()
330 static void setupPaintForFont(HFONT hfont, SkPaint* paint) in setupPaintForFont()
350 HFONT hfont, in paintSkiaText()
/external/webkit/Source/WebKit/chromium/tests/
DUniscribeHelperTest.cpp51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache) in MakeFont()
58 HFONT hfont = CreateFontIndirect(&lf); in MakeFont()
95 Vector< std::pair<HFONT, SCRIPT_CACHE*> > createdFonts;
110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache); in TEST_F()
/external/webkit/Source/WebKit/chromium/public/win/
DWebSandboxSupport.h34 typedef struct HFONT__* HFONT; typedef
47 virtual bool ensureFontLoaded(HFONT) = 0;
/external/webkit/Source/WebCore/platform/graphics/win/
DFontCacheWin.cpp84 *reinterpret_cast<HFONT*>(hfont) = CreateFontIndirect(logFont); in linkedFontEnumProc()
175 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar char… in createMLangFont()
177 HFONT MLangFont; in createMLangFont()
178 HFONT hfont = 0; in createMLangFont()
193 HFONT primaryFont = font.primaryFont()->fontDataForCharacter(character)->platformData().hfont(); in getFontDataForCharacters()
195 HFONT hfont = 0; in getFontDataForCharacters()
341 if (HFONT defaultGUIFont = static_cast<HFONT>(GetStockObject(DEFAULT_GUI_FONT))) { in getLastResortFallbackFont()
448 static HFONT createGDIFont(const AtomicString& family, LONG desiredWeight, bool desiredItalic, int … in createGDIFont()
485 HFONT result = CreateFontIndirect(&matchData.m_chosen); in createGDIFont()
567 HFONT hfont = createGDIFont(family, weight, fontDescription.italic(), in createFontPlatformData()
DFontCustomPlatformDataCairo.cpp53 HFONT font = reinterpret_cast<HFONT>(buffer); in createFontCustomPlatformData()
DFontPlatformDataWin.cpp38 FontPlatformData::FontPlatformData(HFONT font, float size, bool bold, bool oblique, bool useGDI) in FontPlatformData()
39 : m_font(RefCountedGDIHandle<HFONT>::create(font)) in FontPlatformData()
DFontPlatformDataCGWin.cpp110 void FontPlatformData::platformDataInit(HFONT font, float size, HDC hdc, WCHAR* faceName) in platformDataInit()
117 FontPlatformData::FontPlatformData(HFONT hfont, CGFontRef font, float size, bool bold, bool oblique… in FontPlatformData()
124 , m_font(RefCountedGDIHandle<HFONT>::create(hfont)) in FontPlatformData()
DUniscribeController.cpp252 HFONT hfont = fontData->platformData().hfont(); in shapeAndPlaceItem()
253 HFONT oldFont = (HFONT)SelectObject(hdc, hfont); in shapeAndPlaceItem()
384 HFONT oldFont = 0; in shape()
395 HFONT hfont = fontData->platformData().hfont(); in shape()
396 oldFont = (HFONT)SelectObject(hdc, hfont); in shape()
/external/webkit/Source/WebCore/platform/graphics/
DFontPlatformData.h86 typedef struct HFONT__* HFONT; typedef
201 FontPlatformData(HFONT, float size, bool syntheticBold, bool syntheticOblique, bool useGDI);
203 …FontPlatformData(HFONT, CGFontRef, float size, bool syntheticBold, bool syntheticOblique, bool use…
213 HFONT hfont() const { return m_font ? m_font->handle() : 0; } in hfont()
311 void platformDataInit(HFONT, float size, HDC, WCHAR* faceName);
330 RefPtr<RefCountedGDIHandle<HFONT> > m_font;
/external/webkit/Source/WebCore/platform/graphics/wince/
DFontCacheWinCE.cpp98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar … in currentFontContainsCharacter()
117 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar char… in createMLangFont()
119 HFONT mlangFont; in createMLangFont()
126 static HFONT createMLangFont(IMLangFontLink* langFontLink, HDC hdc, const FontPlatformData& refFont… in createMLangFont()
128 HFONT mlangFont; in createMLangFont()
243 HFONT hfont = 0;
DFontPlatformData.h60 HFONT hfont() const;
68 HFONT getScaledFontHandle(int height, int width) const;
/external/icu4c/samples/layout/
DGDIFontInstance.h55 HFONT fFont;
79 HFONT getFont() const;
106 inline HFONT GDIFontInstance::getFont() const in getFont()
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
Dfontprops.cpp92 langFontLink->GetFontCodePages(dc, (HFONT)font, &fontCodePages); in wxFontContainsCharacters()
116 HFONT hfontOld; in GetTextExtent()
121 hfontOld = (HFONT)::SelectObject(dc, hFont); in GetTextExtent()
/external/webkit/Source/JavaScriptCore/wtf/
DOwnPtrCommon.h35 typedef struct HFONT__* HFONT; typedef
66 void deleteOwnedPtr(HFONT);
/external/skia/src/ports/
DSkFontHost_win.cpp217 HFONT font = CreateFontIndirect(&lf); in LogFontTypeface()
220 HFONT savefont = (HFONT)SelectObject(deviceContext, font); in LogFontTypeface()
441 void init(HFONT font, const XFORM& xform) { in init()
451 HFONT fFont;
562 HFONT fSavefont;
563 HFONT fFont;
575 HFONT fHiResFont;
655 fSavefont = (HFONT)SelectObject(fDDC, fFont); in SkScalerContext_Windows()
713 HFONT bitmapFont = CreateFontIndirect(&lf); in SkScalerContext_Windows()
1336 HFONT font = CreateFontIndirect(&face->fLogFont); in Serialize()
[all …]
/external/webkit/Source/WebCore/platform/graphics/wx/
DFontPlatformDataWx.cpp156 HFONT FontPlatformData::hfont() const in hfont()
158 return static_cast<HFONT>(m_font->font()->GetHFONT()); in hfont()
/external/skia/legacy/src/ports/
DSkFontHost_win.cpp303 void init(HFONT font, const XFORM& xform) { in init()
314 HFONT fFont;
433 HFONT fSavefont;
434 HFONT fFont;
438 HFONT fHiResFont;
524 fSavefont = (HFONT)SelectObject(fDDC, fFont); in SkScalerContext_Windows()
1052 HFONT font = CreateFontIndirect(&lf); in GetAdvancedTypefaceMetrics()
1053 HFONT savefont = (HFONT)SelectObject(hdc, font); in GetAdvancedTypefaceMetrics()
1054 HFONT designFont = NULL; in GetAdvancedTypefaceMetrics()
1204 HFONT font = CreateFontIndirect(&lf); in OpenStream()
[all …]

12