OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 | 8 |
9 #ifndef SkPDFShader_DEFINED | 9 #ifndef SkPDFShader_DEFINED |
10 #define SkPDFShader_DEFINED | 10 #define SkPDFShader_DEFINED |
11 | 11 |
12 #include "SkPDFStream.h" | |
13 #include "SkPDFTypes.h" | 12 #include "SkPDFTypes.h" |
14 | 13 |
15 class SkPDFCanon; | 14 class SkPDFCanon; |
16 class SkPDFDocument; | 15 class SkPDFDocument; |
17 class SkMatrix; | 16 class SkMatrix; |
18 class SkShader; | 17 class SkShader; |
19 struct SkIRect; | 18 struct SkIRect; |
20 | 19 |
21 /** \class SkPDFShader | 20 /** \class SkPDFShader |
22 | 21 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 virtual ~SkPDFImageShader(); | 91 virtual ~SkPDFImageShader(); |
93 bool equals(const SkPDFShader::State&) const; | 92 bool equals(const SkPDFShader::State&) const; |
94 | 93 |
95 private: | 94 private: |
96 std::unique_ptr<const SkPDFShader::State> fShaderState; | 95 std::unique_ptr<const SkPDFShader::State> fShaderState; |
97 SkPDFImageShader(SkPDFShader::State*); | 96 SkPDFImageShader(SkPDFShader::State*); |
98 typedef SkPDFStream INHERITED; | 97 typedef SkPDFStream INHERITED; |
99 }; | 98 }; |
100 | 99 |
101 #endif | 100 #endif |
OLD | NEW |