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