SkPdfTrueTypeFontDictionary_autogen.h revision 8cee797901763ab0922eb9ef484cfdcbc94bee54
18cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#ifndef __DEFINED__SkPdfTrueTypeFontDictionary
28cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#define __DEFINED__SkPdfTrueTypeFontDictionary
38cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
48cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#include "SkPdfType1FontDictionary_autogen.h"
58cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
68cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comclass SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary {
78cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
88cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
98cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;}
108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return this;}
118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comprivate:
138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfMultiMasterFontDictionary*)this;}
148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return (const SkPdfMultiMasterFontDictionary*)this;}
158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   bool valid() const {return true;}
218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  SkString Subtype(SkPdfNativeDoc* doc);
228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  bool has_Subtype() const;
238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com};
248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#endif  // __DEFINED__NATIVE_SkPdfTrueTypeFontDictionary
26