OLD | NEW |
| (Empty) |
1 #include "SkPdfType0FunctionDictionary_autogen.h" | |
2 | |
3 SkPdfArray* SkPdfType0FunctionDictionary::Size() const { | |
4 SkPdfArray* ret; | |
5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Size", "", &
ret)) return ret; | |
6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
7 return NULL; | |
8 } | |
9 | |
10 long SkPdfType0FunctionDictionary::BitsPerSample() const { | |
11 long ret; | |
12 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerSample
", "", &ret)) return ret; | |
13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
14 return 0; | |
15 } | |
16 | |
17 long SkPdfType0FunctionDictionary::Order() const { | |
18 long ret; | |
19 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Order", "", &
ret)) return ret; | |
20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
21 return 0; | |
22 } | |
23 | |
24 SkPdfArray* SkPdfType0FunctionDictionary::Encode() const { | |
25 SkPdfArray* ret; | |
26 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Encode", "",
&ret)) return ret; | |
27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
28 return NULL; | |
29 } | |
30 | |
31 SkPdfArray* SkPdfType0FunctionDictionary::Decode() const { | |
32 SkPdfArray* ret; | |
33 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Decode", "",
&ret)) return ret; | |
34 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | |
35 return NULL; | |
36 } | |
OLD | NEW |