1cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com/*
2cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Copyright 2013 Google Inc.
3cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
4cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * Use of this source code is governed by a BSD-style license that can be
5cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com * found in the LICENSE file.
6cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com */
7cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com
8cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#ifndef SkPdfMultiMasterFontDictionary_DEFINED
9cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#define SkPdfMultiMasterFontDictionary_DEFINED
108cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
118cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com#include "SkPdfType1FontDictionary_autogen.h"
128cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
138cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comclass SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary {
148cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
158cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
168cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return this;}
178cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return this;}
188cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
198cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.comprivate:
208cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTypeFontDictionary*)this;}
218cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (const SkPdfTrueTypeFontDictionary*)this;}
228cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
238cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDictionary*)this;}
248cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const SkPdfType3FontDictionary*)this;}
258cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
268cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.compublic:
278cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com   bool valid() const {return true;}
288cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  SkString Subtype(SkPdfNativeDoc* doc);
298cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com  bool has_Subtype() const;
308cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com};
318cee797901763ab0922eb9ef484cfdcbc94bee54edisonn@google.com
32cf2cfa174ca878c144e17e9fc60ca8e9070d7dededisonn@google.com#endif  // SkPdfMultiMasterFontDictionary_DEFINED
33