| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef _FX_PALTFORM_DEVICE_H_ | 7 #ifndef CORE_INCLUDE_FXGE_FPF_H_ |
| 8 #define _FX_PALTFORM_DEVICE_H_ | 8 #define CORE_INCLUDE_FXGE_FPF_H_ |
| 9 |
| 9 class IFPF_DeviceModule; | 10 class IFPF_DeviceModule; |
| 10 class IFPF_FontMgr; | 11 class IFPF_FontMgr; |
| 11 class IFPF_Font; | 12 class IFPF_Font; |
| 12 class IFPF_DeviceModule | 13 class IFPF_DeviceModule |
| 13 { | 14 { |
| 14 public: | 15 public: |
| 15 virtual ~IFPF_DeviceModule() { } | 16 virtual ~IFPF_DeviceModule() { } |
| 16 virtual void Destroy() = 0; | 17 virtual void Destroy() = 0; |
| 17 virtual IFPF_FontMgr* GetFontMgr() = 0; | 18 virtual IFPF_FontMgr* GetFontMgr() = 0; |
| 18 }; | 19 }; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 { | 53 { |
| 53 public: | 54 public: |
| 54 virtual ~IFPF_FontMgr() { } | 55 virtual ~IFPF_FontMgr() { } |
| 55 virtual void LoadSystemFonts() = 0; | 56 virtual void LoadSystemFonts() = 0; |
| 56 virtual void LoadPrivateFont(IFX_FileRead* pFontFile)
= 0; | 57 virtual void LoadPrivateFont(IFX_FileRead* pFontFile)
= 0; |
| 57 virtual void LoadPrivateFont(FX_BSTR bsFileName) = 0; | 58 virtual void LoadPrivateFont(FX_BSTR bsFileName) = 0; |
| 58 virtual void LoadPrivateFont(FX_LPVOID pBuffer, size_
t szBuffer) = 0; | 59 virtual void LoadPrivateFont(FX_LPVOID pBuffer, size_
t szBuffer) = 0; |
| 59 | 60 |
| 60 virtual IFPF_Font* CreateFont(FX_BSTR bsFamilyname, FX_BYTE charset
, FX_DWORD dwStyle, FX_DWORD dwMatch = 0) = 0; | 61 virtual IFPF_Font* CreateFont(FX_BSTR bsFamilyname, FX_BYTE charset
, FX_DWORD dwStyle, FX_DWORD dwMatch = 0) = 0; |
| 61 }; | 62 }; |
| 62 #endif | 63 |
| 64 #endif // CORE_INCLUDE_FXGE_FPF_H_ |
| OLD | NEW |