OLD | NEW |
1 #include "SkPdfType2PatternDictionary_autogen.h" | 1 #include "SkPdfType2PatternDictionary_autogen.h" |
2 | 2 |
3 long SkPdfType2PatternDictionary::Type() const { | 3 long SkPdfType2PatternDictionary::Type() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
et)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
et)) return ret; |
6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
7 return 0; | 7 return 0; |
8 } | 8 } |
9 | 9 |
10 long SkPdfType2PatternDictionary::PatternType() const { | 10 long SkPdfType2PatternDictionary::PatternType() const { |
(...skipping 23 matching lines...) Expand all Loading... |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
35 return NULL; | 35 return NULL; |
36 } | 36 } |
37 | 37 |
38 SkPdfDictionary* SkPdfType2PatternDictionary::ExtGState() const { | 38 SkPdfDictionary* SkPdfType2PatternDictionary::ExtGState() const { |
39 SkPdfDictionary* ret; | 39 SkPdfDictionary* ret; |
40 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGSta
te", "", &ret)) return ret; | 40 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGSta
te", "", &ret)) return ret; |
41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 41 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
42 return NULL; | 42 return NULL; |
43 } | 43 } |
| 44 |
OLD | NEW |