Searched refs:HFONT (Results 1 - 25 of 39) sorted by relevance

12

/external/webkit/Source/WebKit/chromium/public/win/
H A DWebSandboxSupport.h34 typedef struct HFONT__* HFONT; typedef in typeref:struct:HFONT__
47 virtual bool ensureFontLoaded(HFONT) = 0;
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DSkiaFontWin.h48 static const SkPath* lookupOrCreatePathForGlyph(HDC, HFONT, WORD);
51 static void removePathsForFont(HFONT);
89 HFONT hfont,
H A DSkiaFontWin.cpp51 CachedOutlineKey(HFONT f, WORD g) : font(f), glyph(g), path(0) {}
53 HFONT font;
182 const SkPath* SkiaWinOutlineCache::lookupOrCreatePathForGlyph(HDC hdc, HFONT font, WORD glyph)
207 void SkiaWinOutlineCache::removePathsForFont(HFONT hfont)
279 static bool skiaDrawText(HFONT hfont,
330 static void setupPaintForFont(HFONT hfont, SkPaint* paint)
350 HFONT hfont,
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DUniscribeHelperTextRun.h55 HFONT hfont,
60 virtual void tryToPreloadFont(HFONT);
63 // This function retrieves the Windows font data (HFONT, etc) for the next
69 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent);
85 Vector<HFONT, kNumberOfFonts> m_hfonts;
H A DFontPlatformDataChromiumWin.h45 typedef struct HFONT__ *HFONT; typedef in typeref:struct:HFONT__
60 FontPlatformData(HFONT, float size);
70 HFONT hfont() const { return m_font ? m_font->hfont() : 0; }
94 // We refcount the internal HFONT so that FontPlatformData can be
96 // don't really want to re-create the HFONT.
99 static PassRefPtr<RefCountedHFONT> create(HFONT hfont)
106 HFONT hfont() const { return m_hfont; }
109 return StringHasher::hashMemory<sizeof(HFONT)>(&m_hfont);
120 RefCountedHFONT(HFONT hfont) : m_hfont(hfont)
124 HFONT m_hfon
[all...]
H A DUniscribeHelper.h72 // runs as long as it is used consistently with the same HFONT), it should
77 HFONT,
215 virtual void tryToPreloadFont(HFONT) {}
317 HFONT m_hfont;
367 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent)
390 HFONT m_hfont;
H A DFontPlatformDataChromiumWin.cpp60 FontPlatformData::FontPlatformData(HFONT font, float size)
112 if (m_hfont != reinterpret_cast<HFONT>(-1)) {
121 RefCountedHFONT::create(reinterpret_cast<HFONT>(-1));
H A DUniscribeHelperTextRun.cpp69 HFONT hfont,
79 void UniscribeHelperTextRun::tryToPreloadFont(HFONT font)
88 HFONT* hfont,
H A DFontUtilsChromiumWin.h63 // Derive a new HFONT by replacing lfFaceName of LOGFONT with |family|,
64 // calculate the ascent for the derived HFONT, and initialize SCRIPT_CACHE
81 bool getDerivedFontData(const UChar* family, int style, LOGFONT*, int* ascent, HFONT*, SCRIPT_CACHE**, WORD* spaceGlyph);
H A DFontUtilsChromiumWin.cpp49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
240 // Given an HFONT, return the ascent. If GetTextMetrics fails,
242 int getAscent(HFONT hfont)
253 WORD getSpaceGlyph(HFONT hfont)
274 HFONT hfont;
395 HFONT* hfont,
424 // more for HFONT next time.
429 // Last time, GetAscent failed so that only HFONT was
/external/webkit/Source/JavaScriptCore/wtf/
H A DOwnPtrCommon.h35 typedef struct HFONT__* HFONT; typedef in typeref:struct:HFONT__
66 void deleteOwnedPtr(HFONT);
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontCustomPlatformDataCairo.cpp53 HFONT font = reinterpret_cast<HFONT>(buffer);
H A DFontPlatformDataWin.cpp38 FontPlatformData::FontPlatformData(HFONT font, float size, bool bold, bool oblique, bool useGDI)
39 : m_font(RefCountedGDIHandle<HFONT>::create(font))
H A DFontPlatformDataCGWin.cpp110 void FontPlatformData::platformDataInit(HFONT font, float size, HDC hdc, WCHAR* faceName)
117 FontPlatformData::FontPlatformData(HFONT hfont, CGFontRef font, float size, bool bold, bool oblique, bool useGDI)
124 , m_font(RefCountedGDIHandle<HFONT>::create(hfont))
H A DFontCacheWin.cpp84 *reinterpret_cast<HFONT*>(hfont) = CreateFontIndirect(logFont);
175 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar character = 0)
177 HFONT MLangFont;
178 HFONT hfont = 0;
193 HFONT primaryFont = font.primaryFont()->fontDataForCharacter(character)->platformData().hfont();
195 HFONT hfont = 0;
341 if (HFONT defaultGUIFont = static_cast<HFONT>(GetStockObject(DEFAULT_GUI_FONT))) {
448 static HFONT createGDIFont(const AtomicString& family, LONG desiredWeight, bool desiredItalic, int size, bool synthesizeItalic)
485 HFONT resul
[all...]
H A DUniscribeController.cpp249 // The script cache isn't primed with enough info yet. We need to select our HFONT into
252 HFONT hfont = fontData->platformData().hfont();
253 HFONT oldFont = (HFONT)SelectObject(hdc, hfont);
384 HFONT oldFont = 0;
391 // The script cache isn't primed with enough info yet. We need to select our HFONT into
395 HFONT hfont = fontData->platformData().hfont();
396 oldFont = (HFONT)SelectObject(hdc, hfont);
/external/webkit/Source/JavaScriptCore/wtf/win/
H A DOwnPtrWin.cpp52 void deleteOwnedPtr(HFONT ptr)
/external/webkit/Source/WebKit/chromium/tests/
H A DUniscribeHelperTest.cpp48 // Returns an HFONT with the given name. The caller does not have to free
51 HFONT MakeFont(const wchar_t* fontName, SCRIPT_CACHE** cache)
58 HFONT hfont = CreateFontIndirect(&lf);
95 Vector< std::pair<HFONT, SCRIPT_CACHE*> > createdFonts;
110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontPlatformData.h60 HFONT hfont() const;
68 HFONT getScaledFontHandle(int height, int width) const;
H A DFontCacheWinCE.cpp98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar character, const wchar_t* faceName)
117 static HFONT createMLangFont(IMLangFontLink2* langFontLink, HDC hdc, DWORD codePageMask, UChar character = 0)
119 HFONT mlangFont;
126 static HFONT createMLangFont(IMLangFontLink* langFontLink, HDC hdc, const FontPlatformData& refFont, DWORD codePageMask)
128 HFONT mlangFont;
243 HFONT hfont = 0;
/external/icu4c/samples/layout/
H A DGDIFontInstance.h55 HFONT fFont;
79 HFONT getFont() const;
106 inline HFONT GDIFontInstance::getFont() const
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
H A Dfontprops.cpp92 langFontLink->GetFontCodePages(dc, (HFONT)font, &fontCodePages);
116 HFONT hfontOld;
121 hfontOld = (HFONT)::SelectObject(dc, hFont);
/external/webkit/Source/WebCore/platform/graphics/
H A DFontPlatformData.h86 typedef struct HFONT__* HFONT; typedef in typeref:struct:HFONT__
201 FontPlatformData(HFONT, float size, bool syntheticBold, bool syntheticOblique, bool useGDI);
203 FontPlatformData(HFONT, CGFontRef, float size, bool syntheticBold, bool syntheticOblique, bool useGDI);
213 HFONT hfont() const { return m_font ? m_font->handle() : 0; }
311 void platformDataInit(HFONT, float size, HDC, WCHAR* faceName);
330 RefPtr<RefCountedGDIHandle<HFONT> > m_font;
/external/webkit/Source/WebCore/platform/graphics/wx/
H A DFontPlatformDataWx.cpp156 HFONT FontPlatformData::hfont() const
158 return static_cast<HFONT>(m_font->font()->GetHFONT());
/external/chromium/base/win/
H A Dscoped_gdi_object.h72 typedef ScopedGDIObject<HFONT> ScopedHFONT;

Completed in 227 milliseconds

12