1 // Copyright 2016 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_ 8 #define CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_ 9 10 #include "core/fxge/android/cfpf_skiafontdescriptor.h" 11 12 #define FPF_SKIAFONTTYPE_Buffer 3 13 14 class CFPF_SkiaBufferFont : public CFPF_SkiaFontDescriptor { 15 public: 16 CFPF_SkiaBufferFont(); 17 ~CFPF_SkiaBufferFont() override; 18 19 // CFPF_SkiaFontDescriptor 20 int32_t GetType() const override; 21 22 void* m_pBuffer; 23 size_t m_szBuffer; 24 }; 25 26 #endif // CORE_FXGE_ANDROID_CFPF_SKIABUFFERFONT_H_ 27