OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright 2013 Google Inc. | |
3 | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 */ | |
7 | |
8 #ifndef SkPdfSoftMaskImageDictionary_DEFINED | |
9 #define SkPdfSoftMaskImageDictionary_DEFINED | |
10 | |
11 #include "SkPdfImageDictionary_autogen.h" | |
12 | |
13 // Additional entry in a soft-mask image dictionary | |
14 class SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary { | |
15 public: | |
16 public: | |
17 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;} | |
18 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return
this;} | |
19 | |
20 private: | |
21 public: | |
22 bool valid() const {return true;} | |
23 SkPdfArray* Matte(SkPdfNativeDoc* doc); | |
24 bool has_Matte() const; | |
25 SkString Subtype(SkPdfNativeDoc* doc); | |
26 bool has_Subtype() const; | |
27 SkString ColorSpace(SkPdfNativeDoc* doc); | |
28 bool has_ColorSpace() const; | |
29 }; | |
30 | |
31 #endif // SkPdfSoftMaskImageDictionary_DEFINED | |
OLD | NEW |