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

1 2

  /external/chromium_org/third_party/WebKit/public/platform/win/
WebSandboxSupport.h 34 typedef struct HFONT__* HFONT;
47 virtual bool ensureFontLoaded(HFONT) = 0;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/win/
UniscribeHelperTextRun.h 56 HFONT hfont,
61 virtual void tryToPreloadFont(HFONT);
64 // This function retrieves the Windows font data (HFONT, etc) for the next
70 virtual bool nextWinFontData(HFONT&, SCRIPT_CACHE*&, SCRIPT_FONTPROPERTIES*&, int& ascent, WORD& spaceGlyph);
90 Vector<HFONT, kNumberOfFonts> m_hfonts;
FontPlatformDataWin.h 51 typedef struct HFONT__ *HFONT;
55 // Return a typeface associated with the hfont, and return its size and
56 // lfQuality from the hfont's LOGFONT.
57 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size, int* paintTextFlags);
73 // This constructor takes ownership of the HFONT
74 FontPlatformData(HFONT, float size, FontOrientation);
94 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } function in class:WebCore::FontPlatformData
128 static bool ensureFontLoaded(HFONT);
147 HFONT hfont() const { return m_hfont; } function in class:WebCore::FontPlatformData::RefCountedHFONT
    [all...]
UniscribeHelper.h 76 // runs as long as it is used consistently with the same HFONT), it should
81 HFONT,
224 virtual void tryToPreloadFont(HFONT) {}
331 HFONT m_hfont;
369 // Shapes a run (pointed to by |input|) using |hfont| first.
381 virtual bool nextWinFontData(HFONT&, SCRIPT_CACHE*&, SCRIPT_FONTPROPERTIES*&, int&, WORD&)
407 HFONT m_hfont;
UniscribeHelperTextRun.cpp 44 font.primaryFont()->platformData().hfont(),
77 HFONT hfont,
80 : UniscribeHelper(input, inputLength, isRtl, hfont,
87 void UniscribeHelperTextRun::tryToPreloadFont(HFONT font)
96 HFONT& hfont,
131 m_hfonts.append(simpleFontData->platformData().hfont());
138 hfont = m_hfonts[m_fontIndex - 1];
FontPlatformDataWin.cpp 154 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT hfont, int* size, int* paintTextFlags)
157 GetObject(hfont, sizeof(info), &info);
203 FontPlatformData::FontPlatformData(HFONT font, float size, FontOrientation orientation)
278 // uses of hfont() has been eliminated.
285 HFONT hFont = CreateFontIndirect(&logFont);
286 m_font = hFont ? RefCountedHFONT::create(hFont) : 0;
324 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont()))
    [all...]
FontCacheWin.cpp 235 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winName)
240 HFONT hfont = CreateFontIndirect(winfont); local
241 if (!hfont)
245 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
253 return hfont;
280 HFONT hfont = fontData->hfont();
571 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); local
    [all...]
GlyphPageTreeNodeWin.cpp 55 static bool getGlyphIndices(HFONT font, HDC dc, const UChar* characters, unsigned charactersLength, WORD* glyphBuffer, DWORD flag)
70 static bool initSpaceGlyph(HFONT font, HDC dc, Glyph* spaceGlyph)
87 HGDIOBJ oldFont = SelectObject(dc, fontData->platformData().hfont());
91 if (FontPlatformData::ensureFontLoaded(fontData->platformData().hfont())) {
142 if (!getGlyphIndices(fontData->platformData().hfont(), dc, buffer, length, localGlyphBuffer, GGI_MARK_NONEXISTING_GLYPHS)) {
170 initSpaceGlyph(fontData->platformData().hfont(), dc, &spaceGlyph);
215 fontData->platformData().hfont(),
FontCustomPlatformDataWin.cpp 105 HFONT hfont = CreateFontIndirect(&logFont); local
106 return FontPlatformData(hfont, size, orientation);
120 // font namespace (Windows has no API for creating an HFONT from data without exposing the font to the
FontFallbackWin.cpp 48 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, fontName); local
49 if (!hfont)
52 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
57 DeleteObject(hfont);
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-uniscribe.h 43 HFONT
  /external/harfbuzz_ng/src/
hb-uniscribe.h 43 HFONT
  /external/chromium_org/ui/gfx/
platform_font_win.h 74 // HFONT (an opaque handle into Windows). To avoid lots of GDI object
75 // allocation and destruction, Font indirectly refers to the HFONT by way of
76 // an HFontRef. That is, every Font has an HFontRef, which has an HFONT.
78 // HFontRef is reference counted. Upon deletion, it deletes the HFONT.
79 // By making HFontRef maintain the reference to the HFONT, multiple
80 // HFontRefs can share the same HFONT, and Font can provide value semantics.
83 // This constructor takes control of the HFONT, and will delete it when
85 HFontRef(HFONT hfont,
94 HFONT hfont() const { return hfont_; function in class:gfx::PlatformFontWin::HFontRef
    [all...]
platform_font_win.cc 118 HFONT hfont = CreateFontIndirect(&font_info); local
119 return Font(new PlatformFontWin(CreateHFontRef(hfont)));
132 HFONT hfont = CreateFontIndirect(&font_info); local
133 return Font(new PlatformFontWin(CreateHFontRef(hfont)));
172 // the font name taken from the HFONT handle, but it's not the name that comes
184 base::win::ScopedSelectObject font(memory_dc, font_ref_->hfont());
198 return font_ref_->hfont();
204 void PlatformFontWin::InitWithCopyOfHFONT(HFONT hfont)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
SkiaFontWin.h 63 HFONT,
  /external/icu4c/samples/layout/
GDIFontInstance.h 55 HFONT fFont;
79 HFONT getFont() const;
106 inline HFONT GDIFontInstance::getFont() const
  /external/chromium/base/win/
scoped_gdi_object.h 72 typedef ScopedGDIObject<HFONT> ScopedHFONT;
  /external/chromium_org/base/win/
scoped_gdi_object.h 71 typedef ScopedGDIObject<HFONT> ScopedHFONT;
  /external/chromium_org/third_party/WebKit/Source/web/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/chromium_org/ui/base/l10n/
l10n_util_win.cc 48 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, local
50 if (hfont == NULL)
53 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
58 DeleteObject(hfont);
180 HFONT hfont = CreateFontIndirect(&logfont); local
181 if (hfont)
182 SetWindowFont(hwnd, hfont, FALSE)
    [all...]
  /external/chromium_org/content/common/
font_cache_dispatcher_win.cc 34 HFONT font_handle = CreateFontIndirect(&font);
118 HFONT font_;
  /external/chromium_org/content/ppapi_plugin/
ppapi_webkitplatformsupport_impl.cc 47 virtual bool ensureFontLoaded(HFONT);
75 HFONT font) {
  /external/chromium_org/ui/views/widget/
tooltip_manager_win.cc 91 HFONT hfont = reinterpret_cast<HFONT>(SendMessage(window, WM_GETFONT, 0, 0));
92 gfx::Font font = hfont ? gfx::Font(hfont) : gfx::Font();
285 HFONT hfont = reinterpret_cast<HFONT>( local
287 if (hfont != NULL) {
289 base::win::ScopedSelectObject font(dc, hfont);
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_win.cpp 219 HFONT font = CreateFontIndirect(&lf);
222 HFONT savefont = (HFONT)SelectObject(deviceContext, font);
444 void init(HFONT font, const XFORM& xform) {
454 HFONT fFont;
574 HFONT fSavefont;
575 HFONT fFont;
712 fSavefont = (HFONT)SelectObject(fDDC, fFont);
    [all...]
  /external/skia/src/ports/
SkFontHost_win.cpp 219 HFONT font = CreateFontIndirect(&lf);
222 HFONT savefont = (HFONT)SelectObject(deviceContext, font);
444 void init(HFONT font, const XFORM& xform) {
454 HFONT fFont;
574 HFONT fSavefont;
575 HFONT fFont;
712 fSavefont = (HFONT)SelectObject(fDDC, fFont);
    [all...]

Completed in 349 milliseconds

1 2