| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfType2ShadingDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfType2ShadingDictionary | 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 SkPdfType2ShadingDictionary_DEFINED |
| 9 #define SkPdfType2ShadingDictionary_DEFINED |
| 10 |
| 4 #include "SkPdfShadingDictionary_autogen.h" | 11 #include "SkPdfShadingDictionary_autogen.h" |
| 5 | 12 |
| 6 // Additional entries specific to a type 2 shading dictionary | 13 // Additional entries specific to a type 2 shading dictionary |
| 7 class SkPdfType2ShadingDictionary : public SkPdfShadingDictionary { | 14 class SkPdfType2ShadingDictionary : public SkPdfShadingDictionary { |
| 8 public: | 15 public: |
| 9 public: | 16 public: |
| 10 SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return this;} | 17 SkPdfType2ShadingDictionary* asType2ShadingDictionary() {return this;} |
| 11 const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return t
his;} | 18 const SkPdfType2ShadingDictionary* asType2ShadingDictionary() const {return t
his;} |
| 12 | 19 |
| 13 private: | 20 private: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 31 SkPdfArray* Coords(SkPdfNativeDoc* doc); | 38 SkPdfArray* Coords(SkPdfNativeDoc* doc); |
| 32 bool has_Coords() const; | 39 bool has_Coords() const; |
| 33 SkPdfArray* Domain(SkPdfNativeDoc* doc); | 40 SkPdfArray* Domain(SkPdfNativeDoc* doc); |
| 34 bool has_Domain() const; | 41 bool has_Domain() const; |
| 35 SkPdfFunction Function(SkPdfNativeDoc* doc); | 42 SkPdfFunction Function(SkPdfNativeDoc* doc); |
| 36 bool has_Function() const; | 43 bool has_Function() const; |
| 37 SkPdfArray* Extend(SkPdfNativeDoc* doc); | 44 SkPdfArray* Extend(SkPdfNativeDoc* doc); |
| 38 bool has_Extend() const; | 45 bool has_Extend() const; |
| 39 }; | 46 }; |
| 40 | 47 |
| 41 #endif // __DEFINED__NATIVE_SkPdfType2ShadingDictionary | 48 #endif // SkPdfType2ShadingDictionary_DEFINED |
| OLD | NEW |