OLD | NEW |
(Empty) | |
| 1 #ifndef __DEFINED__SkPdfType1FontDictionary |
| 2 #define __DEFINED__SkPdfType1FontDictionary |
| 3 |
| 4 #include "SkPdfFontDictionary_autogen.h" |
| 5 |
| 6 // Entries in a Type 1 font dictionary |
| 7 class SkPdfType1FontDictionary : public SkPdfFontDictionary { |
| 8 public: |
| 9 public: |
| 10 SkPdfType1FontDictionary* asType1FontDictionary() {return this;} |
| 11 const SkPdfType1FontDictionary* asType1FontDictionary() const {return this;} |
| 12 |
| 13 private: |
| 14 SkPdfType0FontDictionary* asType0FontDictionary() {return (SkPdfType0FontDict
ionary*)this;} |
| 15 const SkPdfType0FontDictionary* asType0FontDictionary() const {return (const
SkPdfType0FontDictionary*)this;} |
| 16 |
| 17 public: |
| 18 bool valid() const {return true;} |
| 19 SkString Type(SkPdfNativeDoc* doc); |
| 20 bool has_Type() const; |
| 21 SkString Subtype(SkPdfNativeDoc* doc); |
| 22 bool has_Subtype() const; |
| 23 SkString Name(SkPdfNativeDoc* doc); |
| 24 bool has_Name() const; |
| 25 SkString BaseFont(SkPdfNativeDoc* doc); |
| 26 bool has_BaseFont() const; |
| 27 int64_t FirstChar(SkPdfNativeDoc* doc); |
| 28 bool has_FirstChar() const; |
| 29 int64_t LastChar(SkPdfNativeDoc* doc); |
| 30 bool has_LastChar() const; |
| 31 SkPdfArray* Widths(SkPdfNativeDoc* doc); |
| 32 bool has_Widths() const; |
| 33 SkPdfFontDescriptorDictionary* FontDescriptor(SkPdfNativeDoc* doc); |
| 34 bool has_FontDescriptor() const; |
| 35 bool isEncodingAName(SkPdfNativeDoc* doc); |
| 36 SkString getEncodingAsName(SkPdfNativeDoc* doc); |
| 37 bool isEncodingADictionary(SkPdfNativeDoc* doc); |
| 38 SkPdfDictionary* getEncodingAsDictionary(SkPdfNativeDoc* doc); |
| 39 bool has_Encoding() const; |
| 40 SkPdfStream* ToUnicode(SkPdfNativeDoc* doc); |
| 41 bool has_ToUnicode() const; |
| 42 }; |
| 43 |
| 44 #endif // __DEFINED__NATIVE_SkPdfType1FontDictionary |
OLD | NEW |