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" |
(...skipping 23 matching lines...) Expand all Loading... |
34 int32_t GetHeight() const; | 34 int32_t GetHeight() const; |
35 int32_t GetItalicAngle() const; | 35 int32_t GetItalicAngle() const; |
36 uint32_t GetFontData(uint32_t dwTable, uint8_t* pBuffer, uint32_t dwSize); | 36 uint32_t GetFontData(uint32_t dwTable, uint8_t* pBuffer, uint32_t dwSize); |
37 | 37 |
38 FX_BOOL InitFont(CFPF_SkiaFontMgr* pFontMgr, | 38 FX_BOOL InitFont(CFPF_SkiaFontMgr* pFontMgr, |
39 CFPF_SkiaFontDescriptor* pFontDes, | 39 CFPF_SkiaFontDescriptor* pFontDes, |
40 const CFX_ByteStringC& bsFamily, | 40 const CFX_ByteStringC& bsFamily, |
41 uint32_t dwStyle, | 41 uint32_t dwStyle, |
42 uint8_t uCharset); | 42 uint8_t uCharset); |
43 | 43 |
44 protected: | 44 private: |
45 CFPF_SkiaFontMgr* m_pFontMgr; | 45 CFPF_SkiaFontMgr* m_pFontMgr; |
46 CFPF_SkiaFontDescriptor* m_pFontDes; | 46 CFPF_SkiaFontDescriptor* m_pFontDes; |
47 FXFT_Face m_Face; | 47 FXFT_Face m_Face; |
48 uint32_t m_dwStyle; | 48 uint32_t m_dwStyle; |
49 uint8_t m_uCharset; | 49 uint8_t m_uCharset; |
50 uint32_t m_dwRefCount; | 50 uint32_t m_dwRefCount; |
51 }; | 51 }; |
52 | 52 |
53 #endif // CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ | 53 #endif // CORE_FXGE_ANDROID_FPF_SKIAFONT_H_ |
OLD | NEW |