| #include "SkPdfType0FunctionDictionary_autogen.h" |
| |
| SkPdfArray* SkPdfType0FunctionDictionary::Size() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Size", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| long SkPdfType0FunctionDictionary::BitsPerSample() const { |
| long ret; |
| if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerSample", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return 0; |
| } |
| |
| long SkPdfType0FunctionDictionary::Order() const { |
| long ret; |
| if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Order", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return 0; |
| } |
| |
| SkPdfArray* SkPdfType0FunctionDictionary::Encode() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Encode", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |
| |
| SkPdfArray* SkPdfType0FunctionDictionary::Decode() const { |
| SkPdfArray* ret; |
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Decode", "", &ret)) return ret; |
| // TODO(edisonn): warn about missing required field, assert for known good pdfs |
| return NULL; |
| } |