| 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 _FPF_SKIA_FONT_H_ | 7 #ifndef _FPF_SKIA_FONT_H_ |
| 8 #define _FPF_SKIA_FONT_H_ | 8 #define _FPF_SKIA_FONT_H_ |
| 9 #if _FX_OS_ == _FX_ANDROID_ | 9 #if _FX_OS_ == _FX_ANDROID_ |
| 10 class CFPF_SkiaFontDescriptor; | 10 class CFPF_SkiaFontDescriptor; |
| 11 class CFPF_SkiaFontMgr; | 11 class CFPF_SkiaFontMgr; |
| 12 class SkTypeface; | 12 class SkTypeface; |
| 13 class CFPF_SkiaFont : public IFPF_Font, public CFX_Object | 13 class CFPF_SkiaFont : public IFPF_Font |
| 14 { | 14 { |
| 15 public: | 15 public: |
| 16 CFPF_SkiaFont(); | 16 CFPF_SkiaFont(); |
| 17 virtual ~CFPF_SkiaFont(); | 17 virtual ~CFPF_SkiaFont(); |
| 18 virtual void Release(); | 18 virtual void Release(); |
| 19 virtual IFPF_Font* Retain(); | 19 virtual IFPF_Font* Retain(); |
| 20 | 20 |
| 21 virtual FPF_HFONT GetHandle(); | 21 virtual FPF_HFONT GetHandle(); |
| 22 | 22 |
| 23 virtual CFX_ByteString GetFamilyName(); | 23 virtual CFX_ByteString GetFamilyName(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 48 protected: | 48 protected: |
| 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 FX_BYTE m_uCharset; | 53 FX_BYTE m_uCharset; |
| 54 FX_DWORD m_dwRefCount; | 54 FX_DWORD m_dwRefCount; |
| 55 }; | 55 }; |
| 56 #endif | 56 #endif |
| 57 #endif | 57 #endif |
| OLD | NEW |