OLD | NEW |
1 #include "SkPdfResourceDictionary_autogen.h" | 1 #include "SkPdfResourceDictionary_autogen.h" |
2 | 2 |
3 SkPdfDictionary* SkPdfResourceDictionary::ExtGState() const { | 3 SkPdfDictionary* SkPdfResourceDictionary::ExtGState() const { |
4 SkPdfDictionary* ret; | 4 SkPdfDictionary* ret; |
5 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGSta
te", "", &ret)) return ret; | 5 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGSta
te", "", &ret)) 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 NULL; | 7 return NULL; |
8 } | 8 } |
9 | 9 |
10 SkPdfDictionary* SkPdfResourceDictionary::ColorSpace() const { | 10 SkPdfDictionary* SkPdfResourceDictionary::ColorSpace() const { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
49 return NULL; | 49 return NULL; |
50 } | 50 } |
51 | 51 |
52 SkPdfDictionary* SkPdfResourceDictionary::Properties() const { | 52 SkPdfDictionary* SkPdfResourceDictionary::Properties() const { |
53 SkPdfDictionary* ret; | 53 SkPdfDictionary* ret; |
54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Propert
ies", "", &ret)) return ret; | 54 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Propert
ies", "", &ret)) return ret; |
55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
56 return NULL; | 56 return NULL; |
57 } | 57 } |
| 58 |
OLD | NEW |