OLD | NEW |
(Empty) | |
| 1 #include "SkPdfCalgrayColorSpaceDictionary_autogen.h" |
| 2 |
| 3 SkPdfArray* SkPdfCalgrayColorSpaceDictionary::WhitePoint() const { |
| 4 SkPdfArray* ret; |
| 5 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WhitePoint",
"", &ret)) return ret; |
| 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return NULL; |
| 8 } |
| 9 |
| 10 SkPdfArray* SkPdfCalgrayColorSpaceDictionary::BlackPoint() const { |
| 11 SkPdfArray* ret; |
| 12 if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BlackPoint",
"", &ret)) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return NULL; |
| 15 } |
| 16 |
| 17 double SkPdfCalgrayColorSpaceDictionary::Gamma() const { |
| 18 double ret; |
| 19 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Gamma", "",
&ret)) return ret; |
| 20 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 21 return 0; |
| 22 } |
| 23 |
OLD | NEW |