HomeSort by relevance Sort by last modified time
    Searched full:hfont (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/pdfium/core/src/fxge/android/
fx_android_font.cpp 53 FX_DWORD CFX_AndroidFontInfo::GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size)
55 if (!hFont) {
58 return ((IFPF_Font*)hFont)->GetFontData(table, buffer, size);
60 FX_BOOL CFX_AndroidFontInfo::GetFaceName(void* hFont, CFX_ByteString& name)
62 if (!hFont) {
65 name = ((IFPF_Font*)hFont)->GetFamilyName();
68 FX_BOOL CFX_AndroidFontInfo::GetFontCharset(void* hFont, int& charset)
70 if (!hFont) {
73 charset = ((IFPF_Font*)hFont)->GetCharset();
76 void CFX_AndroidFontInfo::DeleteFont(void* hFont)
    [all...]
fx_android_font.h 25 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
26 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
27 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
29 virtual void DeleteFont(void* hFont);
30 virtual void* RetainFont(void* hFont);
  /external/pdfium/fpdfsdk/src/
fpdf_sysfontinfo.cpp 45 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size)
48 return m_pInfo->GetFontData(m_pInfo, hFont, table, buffer, size);
52 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name)
55 FX_DWORD size = m_pInfo->GetFaceName(m_pInfo, hFont, NULL, 0);
58 size = m_pInfo->GetFaceName(m_pInfo, hFont, buffer, size);
64 virtual FX_BOOL GetFontCharset(void* hFont, int& charset)
67 charset = m_pInfo->GetFontCharset(m_pInfo, hFont);
73 virtual void DeleteFont(void* hFont)
76 m_pInfo->DeleteFont(m_pInfo, hFont);
119 static unsigned long DefaultGetFontData(struct _FPDF_SYSFONTINFO* pThis, void* hFont,
    [all...]
  /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,
92 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)));
163 // the font name taken from the HFONT handle, but it's not the name that comes
175 base::win::ScopedSelectObject font(memory_dc, font_ref_->hfont());
189 return font_ref_->hfont();
195 void PlatformFontWin::InitWithCopyOfHFONT(HFONT hfont)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
custcntl.h 47 typedef INT (CALLBACK *LPFNCCSIZETOTEXTA)(DWORD flStyle,DWORD flExtStyle,HFONT hfont,LPSTR pszText);
48 typedef INT (CALLBACK *LPFNCCSIZETOTEXTW)(DWORD flStyle,DWORD flExtStyle,HFONT hfont,LPWSTR pszText);
mlang.h     [all...]
windowsx.h 41 #define DeleteFont(hfont) DeleteObject((HGDIOBJ)(HFONT)(hfont))
42 #define SelectFont(hdc,hfont) ((HFONT)SelectObject((hdc),(HGDIOBJ)(HFONT)(hfont)))
43 #define GetStockFont(i) ((HFONT)GetStockObject(i))
62 #define SetWindowFont(hwnd,hfont,fRedraw) FORWARD_WM_SETFONT((hwnd),(hfont),(fRedraw),SNDMSG
    [all...]
  /external/pdfium/core/include/fxge/
fx_font.h 281 CFX_ByteString GetPSNameFromTT(void* hFont);
302 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size) = 0;
303 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name) = 0;
304 virtual FX_BOOL GetFontCharset(void* hFont, int& charset) = 0;
305 virtual int GetFaceIndex(void* hFont)
309 virtual void DeleteFont(void* hFont) = 0;
310 virtual void* RetainFont(void* hFont)
325 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
326 virtual void DeleteFont(void* hFont);
327 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
    [all...]
  /external/pdfium/core/src/fxge/win32/
fx_win32_device.cpp 31 virtual FX_DWORD GetFontData(void* hFont, FX_DWORD table, FX_LPBYTE buffer, FX_DWORD size);
32 virtual void DeleteFont(void* hFont);
33 virtual FX_BOOL GetFaceName(void* hFont, CFX_ByteString& name);
34 virtual FX_BOOL GetFontCharset(void* hFont, int& charset);
62 HFONT hFont = CreateFontIndirectA(plf);
64 FX_DWORD font_size = GetFontData(hFont, 0, NULL, 0);
67 GetFontData(hFont, 0, (FX_BYTE*)(&lVersion), sizeof(FX_DWORD));
78 DeleteFont(hFont);
83 HFONT hFont = CreateFontIndirectA(plf);
    [all...]
  /external/chromium_org/ui/base/l10n/
l10n_util_win.cc 49 HFONT hfont = CreateFont(12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, local
51 if (hfont == NULL)
54 HGDIOBJ oldFont = static_cast<HFONT>(SelectObject(dc, hfont));
59 DeleteObject(hfont);
181 HFONT hfont = CreateFontIndirect(&logfont); local
182 if (hfont)
183 SetWindowFont(hwnd, hfont, FALSE)
    [all...]
  /external/pdfium/core/src/fxge/ge/
fx_ge_fontmap.cpp 576 CFX_ByteString CFX_FontMapper::GetPSNameFromTT(void* hFont)
582 FX_DWORD size = m_pFontInfo->GetFontData(hFont, 0x6e616d65, NULL, 0);
588 m_pFontInfo->GetFontData(hFont, 0x6e616d65, buffer, size);
614 void* hFont = m_pFontInfo->GetFont(name);
615 if (hFont == NULL) {
617 hFont = m_pFontInfo->MapFont(0, 0, FXFONT_DEFAULT_CHARSET, 0, name, bExact);
618 if (hFont == NULL) {
622 CFX_ByteString new_name = GetPSNameFromTT(hFont);
627 m_pFontInfo->DeleteFont(hFont);
    [all...]
  /external/icu/icu4c/source/samples/layout/
GDIFontInstance.h 55 HFONT fFont;
79 HFONT getFont() const;
106 inline HFONT GDIFontInstance::getFont() const
  /external/pdfium/fpdfsdk/include/
fpdf_sysfontinfo.h 134 * hFont - Font handle returned by MapFont or GetFont method
143 unsigned long (*GetFontData)(struct _FPDF_SYSFONTINFO* pThis, void* hFont,
155 * hFont - Font handle returned by MapFont or GetFont method
162 unsigned long (*GetFaceName)(struct _FPDF_SYSFONTINFO* pThis, void* hFont, char* buffer, unsigned long buf_size);
173 * hFont - Font handle returned by MapFont or GetFont method
177 int (*GetFontCharset)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
188 * hFont - Font handle returned by MapFont or GetFont method
192 void (*DeleteFont)(struct _FPDF_SYSFONTINFO* pThis, void* hFont);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderThemeChromiumFontProviderWin.cpp 93 HFONT hFont = CreateFontIndirect(&font);
94 if (hFont) {
97 HGDIOBJ hObject = SelectObject(hdc, hFont);
103 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_org/base/win/
scoped_gdi_object.h 71 typedef ScopedGDIObject<HFONT> ScopedHFONT;
  /external/chromium_org/third_party/harfbuzz-ng/src/
hb-uniscribe.h 43 HFONT
hb-uniscribe.cc 483 HFONT hfont; member in struct:hb_uniscribe_shaper_font_data_t
520 data->hfont = CreateFontIndirectW (&data->log_font);
521 if (unlikely (!data->hfont)) {
527 if (!SelectObject (data->hdc, data->hfont)) {
541 if (data->hfont)
542 DeleteObject (data->hfont);
556 HFONT
561 return font_data->hfont;
  /external/harfbuzz_ng/src/
hb-uniscribe.h 40 HFONT
hb-uniscribe.cc 480 HFONT hfont; member in struct:hb_uniscribe_shaper_font_data_t
517 data->hfont = CreateFontIndirectW (&data->log_font);
518 if (unlikely (!data->hfont)) {
524 if (!SelectObject (data->hdc, data->hfont)) {
538 if (data->hfont)
539 DeleteObject (data->hfont);
553 HFONT
558 return font_data->hfont;
  /external/pdfium/core/src/fxge/Microsoft SDK/include/
GdiPlusFont.h 35 IN const HFONT hfont)
39 if (hfont)
43 if(GetObjectA(hfont, sizeof(LOGFONTA), &lf))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/
wintypes.py 73 HFONT = HANDLE
172 'HCOLORSPACE', 'HDC', 'HDESK', 'HDWP', 'HENHMETAFILE', 'HFONT',
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/
wintypes.py 73 HFONT = HANDLE
172 'HCOLORSPACE', 'HDC', 'HDESK', 'HDWP', 'HENHMETAFILE', 'HFONT',
  /external/chromium_org/third_party/npapi/npspy/windows/
dirpick.cpp 535 HFONT hFont = (HFONT)SendMessage(hWnd, WM_GETFONT, 0, 0L);
536 if(hFont == NULL)
537 hFont = GetStockFont(SYSTEM_FONT);
539 HFONT hFontOld = SelectFont(hDC, hFont);

Completed in 1457 milliseconds

1 2 3