OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 | 9 |
10 #ifndef SkPathEffect_DEFINED | 10 #ifndef SkPathEffect_DEFINED |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 including flattening them. It does nothing in filterPath, and is only useful | 150 including flattening them. It does nothing in filterPath, and is only useful |
151 for managing the lifetimes of its two arguments. | 151 for managing the lifetimes of its two arguments. |
152 */ | 152 */ |
153 class SkPairPathEffect : public SkPathEffect { | 153 class SkPairPathEffect : public SkPathEffect { |
154 public: | 154 public: |
155 virtual ~SkPairPathEffect(); | 155 virtual ~SkPairPathEffect(); |
156 | 156 |
157 protected: | 157 protected: |
158 SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1); | 158 SkPairPathEffect(SkPathEffect* pe0, SkPathEffect* pe1); |
159 | 159 |
160 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; | 160 void flatten(SkWriteBuffer&) const SK_OVERRIDE; |
161 | 161 |
162 // these are visible to our subclasses | 162 // these are visible to our subclasses |
163 SkPathEffect* fPE0, *fPE1; | 163 SkPathEffect* fPE0, *fPE1; |
164 | 164 |
165 private: | 165 private: |
166 typedef SkPathEffect INHERITED; | 166 typedef SkPathEffect INHERITED; |
167 }; | 167 }; |
168 | 168 |
169 /** \class SkComposePathEffect | 169 /** \class SkComposePathEffect |
170 | 170 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 | 226 |
227 private: | 227 private: |
228 // illegal | 228 // illegal |
229 SkSumPathEffect(const SkSumPathEffect&); | 229 SkSumPathEffect(const SkSumPathEffect&); |
230 SkSumPathEffect& operator=(const SkSumPathEffect&); | 230 SkSumPathEffect& operator=(const SkSumPathEffect&); |
231 | 231 |
232 typedef SkPairPathEffect INHERITED; | 232 typedef SkPairPathEffect INHERITED; |
233 }; | 233 }; |
234 | 234 |
235 #endif | 235 #endif |
OLD | NEW |