OLD | NEW |
1 #ifndef __DEFINED__SkPdfTrueTypeFontDictionary | 1 /* |
2 #define __DEFINED__SkPdfTrueTypeFontDictionary | 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 SkPdfTrueTypeFontDictionary_DEFINED |
| 9 #define SkPdfTrueTypeFontDictionary_DEFINED |
| 10 |
4 #include "SkPdfType1FontDictionary_autogen.h" | 11 #include "SkPdfType1FontDictionary_autogen.h" |
5 | 12 |
6 class SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary { | 13 class SkPdfTrueTypeFontDictionary : public SkPdfType1FontDictionary { |
7 public: | 14 public: |
8 public: | 15 public: |
9 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;} | 16 SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return this;} |
10 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return t
his;} | 17 const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return t
his;} |
11 | 18 |
12 private: | 19 private: |
13 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM
ultiMasterFontDictionary*)this;} | 20 SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return (SkPdfM
ultiMasterFontDictionary*)this;} |
14 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re
turn (const SkPdfMultiMasterFontDictionary*)this;} | 21 const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {re
turn (const SkPdfMultiMasterFontDictionary*)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_SkPdfTrueTypeFontDictionary | 32 #endif // SkPdfTrueTypeFontDictionary_DEFINED |
OLD | NEW |