| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfMultiMasterFontDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfMultiMasterFontDictionary | 2 * Copyright 2013 Google Inc. |
| 3 | 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 |
| 4 #include "SkPdfType1FontDictionary_autogen.h" | 11 #include "SkPdfType1FontDictionary_autogen.h" |
| 5 | 12 |
| 6 class SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary { | 13 class SkPdfMultiMasterFontDictionary : public SkPdfType1FontDictionary { |
| 7 public: | 14 public: |
| 8 public: | 15 public: |
| 9 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return this;} | 16 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return this;} |
| 10 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re
turn this;} | 17 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re
turn this;} |
| 11 | 18 |
| 12 private: | 19 private: |
| 13 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTyp
eFontDictionary*)this;} | 20 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return (SkPdfTrueTyp
eFontDictionary*)this;} |
| 14 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (
const SkPdfTrueTypeFontDictionary*)this;} | 21 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return (
const SkPdfTrueTypeFontDictionary*)this;} |
| 15 | 22 |
| 16 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDict
ionary*)this;} | 23 SkPdfType3FontDictionary* asType3FontDictionary() {return (SkPdfType3FontDict
ionary*)this;} |
| 17 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const
SkPdfType3FontDictionary*)this;} | 24 const SkPdfType3FontDictionary* asType3FontDictionary() const {return (const
SkPdfType3FontDictionary*)this;} |
| 18 | 25 |
| 19 public: | 26 public: |
| 20 bool valid() const {return true;} | 27 bool valid() const {return true;} |
| 21 SkString Subtype(SkPdfNativeDoc* doc); | 28 SkString Subtype(SkPdfNativeDoc* doc); |
| 22 bool has_Subtype() const; | 29 bool has_Subtype() const; |
| 23 }; | 30 }; |
| 24 | 31 |
| 25 #endif // __DEFINED__NATIVE_SkPdfMultiMasterFontDictionary | 32 #endif // SkPdfMultiMasterFontDictionary_DEFINED |
| OLD | NEW |