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

Side by Side Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfImageDictionary_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef __DEFINED__SkPdfImageDictionary
2 #define __DEFINED__SkPdfImageDictionary
3
4 #include "SkPdfXObjectDictionary_autogen.h"
5
6 // Additional entries specific to an image dictionary
7 class SkPdfImageDictionary : public SkPdfXObjectDictionary {
8 public:
9 public:
10 SkPdfImageDictionary* asImageDictionary() {return this;}
11 const SkPdfImageDictionary* asImageDictionary() const {return this;}
12
13 private:
14 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict ionary*)this;}
15 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const SkPdfType1FormDictionary*)this;}
16
17 public:
18 bool valid() const {return true;}
19 SkString Type(SkPdfNativeDoc* doc);
20 bool has_Type() const;
21 SkString Subtype(SkPdfNativeDoc* doc);
22 bool has_Subtype() const;
23 int64_t Width(SkPdfNativeDoc* doc);
24 bool has_Width() const;
25 int64_t Height(SkPdfNativeDoc* doc);
26 bool has_Height() const;
27 bool isColorSpaceAName(SkPdfNativeDoc* doc);
28 SkString getColorSpaceAsName(SkPdfNativeDoc* doc);
29 bool isColorSpaceAArray(SkPdfNativeDoc* doc);
30 SkPdfArray* getColorSpaceAsArray(SkPdfNativeDoc* doc);
31 bool has_ColorSpace() const;
32 int64_t BitsPerComponent(SkPdfNativeDoc* doc);
33 bool has_BitsPerComponent() const;
34 SkString Intent(SkPdfNativeDoc* doc);
35 bool has_Intent() const;
36 bool ImageMask(SkPdfNativeDoc* doc);
37 bool has_ImageMask() const;
38 bool isMaskAStream(SkPdfNativeDoc* doc);
39 SkPdfStream* getMaskAsStream(SkPdfNativeDoc* doc);
40 bool isMaskAArray(SkPdfNativeDoc* doc);
41 SkPdfArray* getMaskAsArray(SkPdfNativeDoc* doc);
42 bool has_Mask() const;
43 SkPdfImageDictionary* SMask(SkPdfNativeDoc* doc);
44 bool has_SMask() const;
45 SkPdfArray* Decode(SkPdfNativeDoc* doc);
46 bool has_Decode() const;
47 bool Interpolate(SkPdfNativeDoc* doc);
48 bool has_Interpolate() const;
49 SkPdfArray* Alternates(SkPdfNativeDoc* doc);
50 bool has_Alternates() const;
51 SkString Name(SkPdfNativeDoc* doc);
52 bool has_Name() const;
53 int64_t StructParent(SkPdfNativeDoc* doc);
54 bool has_StructParent() const;
55 SkString ID(SkPdfNativeDoc* doc);
56 bool has_ID() const;
57 SkPdfDictionary* OPI(SkPdfNativeDoc* doc);
58 bool has_OPI() const;
59 SkPdfStream* Metadata(SkPdfNativeDoc* doc);
60 bool has_Metadata() const;
61 };
62
63 #endif // __DEFINED__NATIVE_SkPdfImageDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698