Index: experimental/PdfViewer/autogen/SkPdfFunctionCommonDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfFunctionCommonDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfFunctionCommonDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,23 @@ |
+#include "SkPdfFunctionCommonDictionary_autogen.h" |
+ |
+long SkPdfFunctionCommonDictionary::FunctionType() const { |
+ long ret; |
+ if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FunctionType", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return 0; |
+} |
+ |
+SkPdfArray* SkPdfFunctionCommonDictionary::Domain() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Domain", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |
+SkPdfArray* SkPdfFunctionCommonDictionary::Range() const { |
+ SkPdfArray* ret; |
+ if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Range", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |