/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
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.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...] |
SimpleFontDataChromiumWin.cpp | 59 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); 63 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { 114 GetObject(m_platformData.hfont(), sizeof(LOGFONT), &winFont); 117 HFONT hfont = CreateFontIndirect(&winFont); local 118 return SimpleFontData::create(FontPlatformData(hfont, scaledSize, m_platformData.orientation()), isCustomFont(), false); 137 HGDIOBJ oldFont = SelectObject(hdc, m_platformData.hfont()); 142 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { 163 HGDIOBJ oldFont = SelectObject(dc, m_platformData.hfont()); 168 if (FontPlatformData::ensureFontLoaded(m_platformData.hfont())) { [all...] |
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;
|
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];
|
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)
|
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...] |
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);
|
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(),
|
/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/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/icu4c/samples/layout/ |
GDIFontInstance.h | 55 HFONT fFont; 79 HFONT getFont() const; 106 inline HFONT GDIFontInstance::getFont() const
|
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/skia/ |
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/chromium_org/third_party/WebKit/Source/wtf/ |
OwnPtrCommon.h | 35 typedef struct HFONT__* HFONT; 54 void deleteOwnedPtr(HFONT);
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-uniscribe.cc | 110 HFONT hfont; member in struct:hb_uniscribe_shaper_font_data_t 163 data->hfont = CreateFontIndirectW (&data->log_font); 164 if (unlikely (!data->hfont)) { 170 if (!SelectObject (data->hdc, data->hfont)) { 184 if (data->hfont) 185 DeleteObject (data->hfont); 199 HFONT 204 return font_data->hfont;
|
hb-uniscribe.h | 43 HFONT
|
/external/harfbuzz_ng/src/ |
hb-uniscribe.cc | 110 HFONT hfont; member in struct:hb_uniscribe_shaper_font_data_t 163 data->hfont = CreateFontIndirectW (&data->log_font); 164 if (unlikely (!data->hfont)) { 170 if (!SelectObject (data->hdc, data->hfont)) { 184 if (data->hfont) 185 DeleteObject (data->hfont); 199 HFONT 204 return font_data->hfont;
|
hb-uniscribe.h | 43 HFONT
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderThemeChromiumFontProviderWin.cpp | 94 HFONT hFont = CreateFontIndirect(&font); 95 if (hFont) { 98 HGDIOBJ hObject = SelectObject(hdc, hFont); 104 DeleteObject(hFont);
|
/external/chromium_org/third_party/WebKit/public/platform/win/ |
WebSandboxSupport.h | 34 typedef struct HFONT__* HFONT; 47 virtual bool ensureFontLoaded(HFONT) = 0;
|
/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/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
|