OLD | NEW |
1 #include "SkPdfType4ShadingDictionary_autogen.h" | 1 #include "SkPdfType4ShadingDictionary_autogen.h" |
2 | 2 |
3 long SkPdfType4ShadingDictionary::BitsPerCoordinate() const { | 3 long SkPdfType4ShadingDictionary::BitsPerCoordinate() const { |
4 long ret; | 4 long ret; |
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerCoordi
nate", "", &ret)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerCoordi
nate", "", &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 long SkPdfType4ShadingDictionary::BitsPerComponent() const { | 10 long SkPdfType4ShadingDictionary::BitsPerComponent() const { |
(...skipping 16 matching lines...) Expand all Loading... |
27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 27 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
28 return NULL; | 28 return NULL; |
29 } | 29 } |
30 | 30 |
31 SkPdfFunction SkPdfType4ShadingDictionary::Function() const { | 31 SkPdfFunction SkPdfType4ShadingDictionary::Function() const { |
32 SkPdfFunction ret; | 32 SkPdfFunction ret; |
33 if (FunctionFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Function"
, "", &ret)) return ret; | 33 if (FunctionFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Function"
, "", &ret)) return ret; |
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 SkPdfFunction(); | 35 return SkPdfFunction(); |
36 } | 36 } |
| 37 |
OLD | NEW |