Index: experimental/PdfViewer/autogen/SkPdfType2FunctionDictionary_autogen.h |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfType2FunctionDictionary_autogen.h (revision 9765) |
+++ experimental/PdfViewer/autogen/SkPdfType2FunctionDictionary_autogen.h (working copy) |
@@ -532,13 +532,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C0", "", NULL)); |
} |
- SkPdfArray* C0() const { |
- SkPdfArray* ret; |
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C0", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfArray* C0() const; |
/** (Optional) An array of n numbers defining the function result when x = 1.0 (hence the "1" |
* in the name). Default value: [1.0]. |
**/ |
@@ -546,13 +540,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C1", "", NULL)); |
} |
- SkPdfArray* C1() const { |
- SkPdfArray* ret; |
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C1", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
- } |
- |
+ SkPdfArray* C1() const; |
/** (Required) The interpolation exponent. Each input value x will return n values, given by |
* yj = C0j + xN x (C1j - C0j ), for 0 <= j < n. |
**/ |
@@ -560,13 +548,7 @@ |
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", NULL)); |
} |
- double N() const { |
- double ret; |
- if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return 0; |
- } |
- |
+ double N() const; |
}; |
#endif // __DEFINED__SkPdfType2FunctionDictionary |