HomeSort by relevance Sort by last modified time
    Searched refs:HFONT (Results 1 - 25 of 49) 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/core/platform/graphics/chromium/
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;
FontPlatformDataChromiumWin.h 52 typedef struct HFONT__ *HFONT;
56 // Return a typeface associated with the hfont, and return its size and
57 // lfQuality from the hfont's LOGFONT.
58 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT, int* size, int* paintTextFlags);
71 // This constructor takes ownership of the HFONT
72 FontPlatformData(HFONT, float size, FontOrientation);
88 HFONT hfont() const { return m_font ? m_font->hfont() : 0; } function in class:WebCore::FontPlatformData
118 static bool ensureFontLoaded(HFONT);
133 HFONT hfont() const { return m_hfont; } function in class:WebCore::FontPlatformData::RefCountedHFONT
    [all...]
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**, WORD* spaceGlyph);
UniscribeHelper.h 75 // runs as long as it is used consistently with the same HFONT), it should
80 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];
FontUtilsChromiumWin.cpp 50 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, local
52 if (!hfont)
55 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
60 DeleteObject(hfont);
240 // Given an HFONT, return the ascent. If GetTextMetrics fails,
242 int getAscent(HFONT hfont)
245 HGDIOBJ oldFont = SelectObject(dc, hfont);
274 HFONT hfont; member in struct:WebCore::__anon12686::FontData
    [all...]
FontCacheChromiumWin.cpp 236 static HFONT createFontIndirectAndGetWinName(const String& family, LOGFONT* winfont, String* winName)
241 HFONT hfont = CreateFontIndirect(winfont); local
242 if (!hfont)
246 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
254 return hfont;
281 HFONT hfont = fontData->hfont();
622 HFONT hfont = createFontIndirectAndGetWinName(family, &winfont, &winName); local
    [all...]
GlyphPageTreeNodeChromiumWin.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);
213 fontData->platformData().hfont(),
FontPlatformDataChromiumWin.cpp 106 PassRefPtr<SkTypeface> CreateTypefaceFromHFont(HFONT hfont, int* size, int* paintTextFlags)
109 GetObject(hfont, sizeof(info), &info);
141 FontPlatformData::FontPlatformData(HFONT font, float size, FontOrientation orientation)
212 HGDIOBJ oldFont = SelectObject(dc, hfont());
218 if (ensureFontLoaded(hfont())) {
251 HGDIOBJ oldFont = SelectObject(dc, hfont());
254 if (FontPlatformData::ensureFontLoaded(hfont())) {
276 bool FontPlatformData::ensureFontLoaded(HFONT font)
  /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/third_party/WebKit/Source/wtf/
OwnPtrCommon.h 35 typedef struct HFONT__* HFONT;
54 void deleteOwnedPtr(HFONT);
  /external/chromium_org/ui/gfx/
platform_font_win.h 72 // HFONT (an opaque handle into Windows). To avoid lots of GDI object
73 // allocation and destruction, Font indirectly refers to the HFONT by way of
74 // an HFontRef. That is, every Font has an HFontRef, which has an HFONT.
76 // HFontRef is reference counted. Upon deletion, it deletes the HFONT.
77 // By making HFontRef maintain the reference to the HFONT, multiple
78 // HFontRefs can share the same HFONT, and Font can provide value semantics.
81 // This constructor takes control of the HFONT, and will delete it when
83 HFontRef(HFONT hfont,
91 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)));
173 base::win::ScopedSelectObject font(memory_dc, font_ref_->hfont());
187 return font_ref_->hfont();
193 void PlatformFontWin::InitWithCopyOfHFONT(HFONT hfont) {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/
SkiaFontWin.h 61 HFONT,
SkiaFontWin.cpp 116 static void paintSkiaText(GraphicsContext* context, HFONT hfont,
128 FontPlatformData::ensureFontLoaded(hfont);
181 paintSkiaText(context, data.hfont(), data.typeface(), data.size(), data.paintTextFlags(),
186 HFONT hfont,
196 RefPtr<SkTypeface> face = CreateTypefaceFromHFont(hfont, &size, &paintTextFlags);
197 paintSkiaText(context, hfont, face.get(), size, paintTextFlags, numGlyphs, glyphs, advances, offsets, origin, textRect);
  /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 47 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, local
49 if (hfont == NULL)
52 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
57 DeleteObject(hfont);
174 HFONT hfont = CreateFontIndirect(&logfont); local
175 if (hfont)
176 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 46 virtual bool ensureFontLoaded(HFONT);
72 HFONT font) {
  /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/win/
FontCustomPlatformDataWin.cpp 106 HFONT hfont = CreateFontIndirect(&logFont); local
107 return FontPlatformData(hfont, size, orientation);
121 // font namespace (Windows has no API for creating an HFONT from data without exposing the font to the

Completed in 630 milliseconds

1 2