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 CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ | 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ |
8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ | 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ |
9 | 9 |
| 10 #include "core/include/fxcrt/fx_system.h" |
| 11 |
10 #if _FX_OS_ == _FX_ANDROID_ | 12 #if _FX_OS_ == _FX_ANDROID_ |
11 | 13 |
12 #include "core/include/fxge/fpf.h" | 14 #include "core/include/fxge/fpf.h" |
| 15 #include "core/include/fxge/fx_font.h" |
13 | 16 |
14 class CFPF_SkiaFontDescriptor; | 17 class CFPF_SkiaFontDescriptor; |
15 class CFPF_SkiaFontMgr; | 18 class CFPF_SkiaFontMgr; |
16 class CFPF_SkiaFont : public IFPF_Font { | 19 class CFPF_SkiaFont : public IFPF_Font { |
17 public: | 20 public: |
18 CFPF_SkiaFont(); | 21 CFPF_SkiaFont(); |
19 ~CFPF_SkiaFont() override; | 22 ~CFPF_SkiaFont() override; |
20 | 23 |
21 // IFPF_Font | 24 // IFPF_Font |
22 void Release() override; | 25 void Release() override; |
(...skipping 25 matching lines...) Expand all Loading... |
48 CFPF_SkiaFontMgr* m_pFontMgr; | 51 CFPF_SkiaFontMgr* m_pFontMgr; |
49 CFPF_SkiaFontDescriptor* m_pFontDes; | 52 CFPF_SkiaFontDescriptor* m_pFontDes; |
50 FXFT_Face m_Face; | 53 FXFT_Face m_Face; |
51 FX_DWORD m_dwStyle; | 54 FX_DWORD m_dwStyle; |
52 uint8_t m_uCharset; | 55 uint8_t m_uCharset; |
53 FX_DWORD m_dwRefCount; | 56 FX_DWORD m_dwRefCount; |
54 }; | 57 }; |
55 #endif | 58 #endif |
56 | 59 |
57 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ | 60 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ |
OLD | NEW |