Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3201)

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType3ShadingDictionary_autogen.h

Issue 22900010: pdfviewer: check in pdfapi classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType3ShadingDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType3ShadingDictionary_autogen.h (revision 0)
+++ experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType3ShadingDictionary_autogen.h (revision 0)
@@ -0,0 +1,41 @@
+#ifndef __DEFINED__SkPdfType3ShadingDictionary
+#define __DEFINED__SkPdfType3ShadingDictionary
+
+#include "SkPdfShadingDictionary_autogen.h"
+
+// Additional entries specific to a type 3 shading dictionary
+class SkPdfType3ShadingDictionary : public SkPdfShadingDictionary {
+public:
+public:
+ SkPdfType3ShadingDictionary* asType3ShadingDictionary() {return this;}
+ const SkPdfType3ShadingDictionary* asType3ShadingDictionary() const {return this;}
+
+private:
+ SkPdfType1ShadingDictionary* asType1ShadingDictionary() {return (SkPdfType1ShadingDictionary*)this;}
+ const SkPdfType1ShadingDictionary* asType1ShadingDictionary() const {return (const SkPdfType1ShadingDictionary*)this;}
+
+ SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return (SkPdfType2ShadingDictionary*)this;}
+ const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return (const SkPdfType2ShadingDictionary*)this;}
+
+ SkPdfType4ShadingDictionary* asType4ShadingDictionary() {return (SkPdfType4ShadingDictionary*)this;}
+ const SkPdfType4ShadingDictionary* asType4ShadingDictionary() const {return (const SkPdfType4ShadingDictionary*)this;}
+
+ SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return (SkPdfType5ShadingDictionary*)this;}
+ const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return (const SkPdfType5ShadingDictionary*)this;}
+
+ SkPdfType6ShadingDictionary* asType6ShadingDictionary() {return (SkPdfType6ShadingDictionary*)this;}
+ const SkPdfType6ShadingDictionary* asType6ShadingDictionary() const {return (const SkPdfType6ShadingDictionary*)this;}
+
+public:
+ bool valid() const {return true;}
+ SkPdfArray* Coords(SkPdfNativeDoc* doc);
+ bool has_Coords() const;
+ SkPdfArray* Domain(SkPdfNativeDoc* doc);
+ bool has_Domain() const;
+ SkPdfFunction Function(SkPdfNativeDoc* doc);
+ bool has_Function() const;
+ SkPdfArray* Extend(SkPdfNativeDoc* doc);
+ bool has_Extend() const;
+};
+
+#endif // __DEFINED__NATIVE_SkPdfType3ShadingDictionary

Powered by Google App Engine
This is Rietveld 408576698