OLD | NEW |
1 #ifndef __DEFINED__SkPdfType5ShadingDictionary | 1 /* |
2 #define __DEFINED__SkPdfType5ShadingDictionary | 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 SkPdfType5ShadingDictionary_DEFINED |
| 9 #define SkPdfType5ShadingDictionary_DEFINED |
| 10 |
4 #include "SkPdfShadingDictionary_autogen.h" | 11 #include "SkPdfShadingDictionary_autogen.h" |
5 | 12 |
6 // Additional entries specific to a type 5 shading dictionary | 13 // Additional entries specific to a type 5 shading dictionary |
7 class SkPdfType5ShadingDictionary : public SkPdfShadingDictionary { | 14 class SkPdfType5ShadingDictionary : public SkPdfShadingDictionary { |
8 public: | 15 public: |
9 public: | 16 public: |
10 SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return this;} | 17 SkPdfType5ShadingDictionary* asType5ShadingDictionary() {return this;} |
11 const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return t
his;} | 18 const SkPdfType5ShadingDictionary* asType5ShadingDictionary() const {return t
his;} |
12 | 19 |
13 private: | 20 private: |
(...skipping 19 matching lines...) Expand all Loading... |
33 int64_t BitsPerComponent(SkPdfNativeDoc* doc); | 40 int64_t BitsPerComponent(SkPdfNativeDoc* doc); |
34 bool has_BitsPerComponent() const; | 41 bool has_BitsPerComponent() const; |
35 int64_t VerticesPerRow(SkPdfNativeDoc* doc); | 42 int64_t VerticesPerRow(SkPdfNativeDoc* doc); |
36 bool has_VerticesPerRow() const; | 43 bool has_VerticesPerRow() const; |
37 SkPdfArray* Decode(SkPdfNativeDoc* doc); | 44 SkPdfArray* Decode(SkPdfNativeDoc* doc); |
38 bool has_Decode() const; | 45 bool has_Decode() const; |
39 SkPdfFunction Function(SkPdfNativeDoc* doc); | 46 SkPdfFunction Function(SkPdfNativeDoc* doc); |
40 bool has_Function() const; | 47 bool has_Function() const; |
41 }; | 48 }; |
42 | 49 |
43 #endif // __DEFINED__NATIVE_SkPdfType5ShadingDictionary | 50 #endif // SkPdfType5ShadingDictionary_DEFINED |
OLD | NEW |