1 /* 2 * Copyright 2013 Google Inc. 3 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8 #ifndef SkPdfMultiMasterFontDictionary_DEFINED 9 #define SkPdfMultiMasterFontDictionary_DEFINED 10 11 #include "SkPdfType1FontDictionary_autogen.h" 12 13 class SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary { 14 public: 15 public: asMultiMasterFontDictionary()16 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return this;} asMultiMasterFontDictionary()17 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return this;} 18 19 private: asTrueTypeFontDictionary()20 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;} asTrueTypeFontDictionary()21 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;} 22 asType3FontDictionary()23 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;} asType3FontDictionary()24 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;} 25 26 public: valid()27 bool valid() const {return true;} 28 SkString Subtype(SkPdfNativeDoc* doc); 29 bool has_Subtype() const; 30 }; 31 32 #endif // SkPdfMultiMasterFontDictionary_DEFINED 33