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