OLD | NEW |
1 #include "SkPdfShadingDictionary_autogen.h" | 1 #include "SkPdfShadingDictionary_autogen.h" |
2 | 2 |
3 long SkPdfShadingDictionary::ShadingType() const { | 3 long SkPdfShadingDictionary::ShadingType() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ShadingType",
"", &ret)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ShadingType",
"", &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 0; | 7 return 0; |
8 } | 8 } |
9 | 9 |
10 std::string SkPdfShadingDictionary::getColorSpaceAsName() const { | 10 std::string SkPdfShadingDictionary::getColorSpaceAsName() 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 bool SkPdfShadingDictionary::AntiAlias() const { | 38 bool SkPdfShadingDictionary::AntiAlias() const { |
39 bool ret; | 39 bool ret; |
40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AntiAlias", "
", &ret)) return ret; | 40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "AntiAlias", "
", &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 false; | 42 return false; |
43 } | 43 } |
OLD | NEW |