OLD | NEW |
1 #ifndef __DEFINED__SkPdfSoftMaskImageDictionary | 1 /* |
2 #define __DEFINED__SkPdfSoftMaskImageDictionary | 2 * Copyright 2013 Google Inc. |
3 | 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 |
4 #include "SkPdfImageDictionary_autogen.h" | 11 #include "SkPdfImageDictionary_autogen.h" |
5 | 12 |
6 // Additional entry in a soft-mask image dictionary | 13 // Additional entry in a soft-mask image dictionary |
7 class SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary { | 14 class SkPdfSoftMaskImageDictionary : public SkPdfImageDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;} | 17 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return this;} |
11 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return
this;} | 18 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return
this;} |
12 | 19 |
13 private: | 20 private: |
14 public: | 21 public: |
15 bool valid() const {return true;} | 22 bool valid() const {return true;} |
16 SkPdfArray* Matte(SkPdfNativeDoc* doc); | 23 SkPdfArray* Matte(SkPdfNativeDoc* doc); |
17 bool has_Matte() const; | 24 bool has_Matte() const; |
18 SkString Subtype(SkPdfNativeDoc* doc); | 25 SkString Subtype(SkPdfNativeDoc* doc); |
19 bool has_Subtype() const; | 26 bool has_Subtype() const; |
20 SkString ColorSpace(SkPdfNativeDoc* doc); | 27 SkString ColorSpace(SkPdfNativeDoc* doc); |
21 bool has_ColorSpace() const; | 28 bool has_ColorSpace() const; |
22 }; | 29 }; |
23 | 30 |
24 #endif // __DEFINED__NATIVE_SkPdfSoftMaskImageDictionary | 31 #endif // SkPdfSoftMaskImageDictionary_DEFINED |
OLD | NEW |