HomeSort by relevance Sort by last modified time
    Searched refs:HFONT (Results 1 - 25 of 39) sorted by null

1 2

  /external/webkit/WebKit/chromium/public/win/
WebSandboxSupport.h 34 typedef struct HFONT__* HFONT;
47 virtual bool ensureFontLoaded(HFONT) = 0;
  /external/webkit/WebCore/platform/graphics/skia/
SkiaFontWin.h 47 static const SkPath* lookupOrCreatePathForGlyph(HDC, HFONT, WORD);
50 static void removePathsForFont(HFONT);
84 HFONT hfont,
SkiaFontWin.cpp 49 CachedOutlineKey(HFONT f, WORD g) : font(f), glyph(g), path(0) {}
51 HFONT font;
180 const SkPath* SkiaWinOutlineCache::lookupOrCreatePathForGlyph(HDC hdc, HFONT font, WORD glyph)
205 void SkiaWinOutlineCache::removePathsForFont(HFONT hfont)
265 static bool skiaDrawText(HFONT hfont,
278 const SkPath* path = SkiaWinOutlineCache::lookupOrCreatePathForGlyph(dc, hfont, glyphs[i]);
299 HFONT hfont,
    [all...]
  /external/webkit/WebCore/platform/graphics/chromium/
UniscribeHelperTextRun.h 55 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;
FontPlatformDataChromiumWin.h 43 typedef struct HFONT__ *HFONT;
59 FontPlatformData(HFONT, float size);
69 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } function in class:WebCore::FontPlatformData
90 // We refcount the internal HFONT so that FontPlatformData can be
92 // don't really want to re-create the HFONT.
95 static PassRefPtr<RefCountedHFONT> create(HFONT hfont)
97 return adoptRef(new RefCountedHFONT(hfont));
102 HFONT hfont() const { return m_hfont; } function in class:WebCore::FontPlatformData::RefCountedHFONT
    [all...]
UniscribeHelper.h 72 // runs as long as it is used consistently with the same HFONT), it should
77 HFONT,
214 virtual void tryToPreloadFont(HFONT) {}
314 HFONT m_hfont;
346 // Shapes a run (pointed to by |input|) using |hfont| first.
358 virtual bool nextWinFontData(HFONT*, SCRIPT_CACHE**, SCRIPT_FONTPROPERTIES**, int* ascent)
381 HFONT m_hfont;
FontPlatformDataChromiumWin.cpp 60 FontPlatformData::FontPlatformData(HFONT font, float size)
112 if (m_hfont != reinterpret_cast<HFONT>(-1)) {
121 RefCountedHFONT::create(reinterpret_cast<HFONT>(-1));
135 HGDIOBJ oldFont = SelectObject(dc, hfont());
139 if (ChromiumBridge::ensureFontLoaded(hfont())) {
UniscribeHelperTextRun.cpp 43 font.primaryFont()->platformData().hfont(),
67 HFONT hfont,
70 : UniscribeHelper(input, inputLength, isRtl, hfont,
77 void UniscribeHelperTextRun::tryToPreloadFont(HFONT font)
86 HFONT* hfont,
120 m_hfonts.append(simpleFontData->platformData().hfont());
126 *hfont = m_hfonts[m_fontIndex - 1];
FontUtilsChromiumWin.h 63 // 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**);
FontCacheChromiumWin.cpp 237 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winName)
243 HFONT hfont = CreateFontIndirect(winfont); local
244 if (!hfont)
248 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
257 return hfont;
284 HFONT hfont = fontData->hfont();
527 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); local
    [all...]
  /external/webkit/WebCore/platform/graphics/win/
FontPlatformData.h 36 typedef struct HFONT__* HFONT;
61 FontPlatformData(HFONT, float size, bool bold, bool oblique, bool useGDI);
65 FontPlatformData(HFONT, CGFontRef, float size, bool bold, bool oblique, bool useGDI);
77 HFONT hfont() const { return m_font->hfont(); } function in class:WebCore::FontPlatformData
117 static PassRefPtr<RefCountedHFONT> create(HFONT hfont) { return adoptRef(new RefCountedHFONT(hfont)); }
118 static PassRefPtr<RefCountedHFONT> createDeleted() { return adoptRef(new RefCountedHFONT(reinterpret_cast<HFONT>(-1)));
122 HFONT hfont() const { return m_hfont; } function in class:WebCore::FontPlatformData::RefCountedHFONT
    [all...]
FontCustomPlatformDataCairo.cpp 50 HFONT font = reinterpret_cast<HFONT>(buffer);
FontCacheWin.cpp 82 static int CALLBACK linkedFontEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM hfont)
84 *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; local
183 hfont = CreateFontIndirect(&lf);
185 return hfont;
193 HFONT primaryFont = font.primaryFont()->fontDataForCharacter(character)->platformData().hfont()
195 HFONT hfont = 0; local
526 HFONT hfont = createGDIFont(family, weight, fontDescription.italic(), local
    [all...]
FontPlatformDataWin.cpp 38 FontPlatformData::FontPlatformData(HFONT font, float size, bool bold, bool oblique, bool useGDI)
UniscribeController.cpp 244 // The script cache isn't primed with enough info yet. We need to select our HFONT into
247 HFONT hfont = fontData->platformData().hfont(); local
248 HFONT oldFont = (HFONT)SelectObject(hdc, hfont);
407 HFONT oldFont = 0;
414 // The script cache isn't primed with enough info yet. We need to select our HFONT into
418 HFONT hfont = fontData->platformData().hfont() local
    [all...]
  /external/webkit/JavaScriptCore/wtf/
OwnPtrCommon.h 34 typedef struct HFONT__* HFONT;
53 void deleteOwnedPtr(HFONT);
OwnPtrWin.cpp 52 void deleteOwnedPtr(HFONT ptr)
  /external/webkit/WebKitTools/WinLauncher/
PrintWebUIDelegate.cpp 141 HFONT hFont = (HFONT)::GetStockObject(ANSI_VAR_FONT);
142 HFONT hOldFont = (HFONT)::SelectObject(dc, hFont);
174 HFONT hFont = (HFONT)::GetStockObject(ANSI_VAR_FONT);
175 HFONT hOldFont = (HFONT)::SelectObject(dc, hFont)
    [all...]
  /external/icu4c/samples/layout/
GDIFontInstance.h 55 HFONT fFont;
79 HFONT getFont() const;
106 inline HFONT GDIFontInstance::getFont() const
  /external/webkit/WebKit/chromium/tests/
UniscribeHelperTest.cpp 48 // 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); local
59 if (!hfont)
64 createdFonts.append(std::make_pair(hfont, *cache));
65 return hfont;
95 Vector< std::pair<HFONT, SCRIPT_CACHE*> > createdFonts;
110 HFONT hfont = MakeFont(L"Times New Roman", &scriptCache) local
    [all...]
  /external/webkit/WebCore/platform/graphics/wince/
FontPlatformData.h 59 HFONT hfont() const;
67 HFONT getScaledFontHandle(int height, int width) const;
FontCacheWince.cpp 98 static bool currentFontContainsCharacter(IMLangFontLink* langFontLink, HDC hdc, HFONT hfont, UChar character, const wchar_t* faceName)
101 HRESULT result = langFontLink->GetFontCodePages(hdc, hfont, &fontCodePages);
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;
129 LRESULT result = langFontLink->MapFont(hdc, codePageMask, refFont.hfont(), &mlangFont);
243 HFONT hfont = 0 local
    [all...]
  /external/webkit/WebCore/platform/graphics/wx/
FontPlatformDataWx.cpp 138 HFONT FontPlatformData::hfont() const function in class:WebCore::FontPlatformData
140 return static_cast<HFONT>(m_font->font()->GetHFONT());
FontPlatformData.h 120 HFONT hfont() const;
  /external/webkit/WebCore/platform/wx/wxcode/win/
fontprops.cpp 51 WXHFONT hFont = font->GetHFONT();
52 ::SelectObject(dc, hFont);
92 langFontLink->GetFontCodePages(dc, static_cast<HFONT>(font.GetHFONT()), &fontCodePages);
113 WXHFONT hFont = font.GetHFONT();
114 ::SelectObject(dc, hFont);
116 HFONT hfontOld;
121 hfontOld = (HFONT)::SelectObject(dc, hFont);

Completed in 381 milliseconds

1 2