Index: experimental/PdfViewer/autogen/SkPdfType5ShadingDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfType5ShadingDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfType5ShadingDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,37 @@ |
+#include "SkPdfType5ShadingDictionary_autogen.h" |
+ |
+long SkPdfType5ShadingDictionary::BitsPerCoordinate() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerCoordinate", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+long SkPdfType5ShadingDictionary::BitsPerComponent() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BitsPerComponent", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+long SkPdfType5ShadingDictionary::VerticesPerRow() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "VerticesPerRow", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+SkPdfArray* SkPdfType5ShadingDictionary::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; |
+} |
+ |
+SkPdfFunction SkPdfType5ShadingDictionary::Function() const { |
+ SkPdfFunction ret; |
+ if (FunctionFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Function", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return SkPdfFunction(); |
+} |
+ |