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 |
11 #define SkPathEffect_DEFINED | 11 #define SkPathEffect_DEFINED |
12 | 12 |
13 #include "SkFlattenable.h" | 13 #include "SkFlattenable.h" |
14 #include "SkPath.h" | 14 #include "SkPath.h" |
15 #include "SkPoint.h" | 15 #include "SkPoint.h" |
16 #include "SkRect.h" | 16 #include "SkRect.h" |
17 #include "SkStrokeRec.h" | |
18 #include "SkTDArray.h" | 17 #include "SkTDArray.h" |
19 | 18 |
20 class SkPath; | 19 class SkPath; |
| 20 class SkStrokeRec; |
21 | 21 |
22 /** \class SkPathEffect | 22 /** \class SkPathEffect |
23 | 23 |
24 SkPathEffect is the base class for objects in the SkPaint that affect | 24 SkPathEffect is the base class for objects in the SkPaint that affect |
25 the geometry of a drawing primitive before it is transformed by the | 25 the geometry of a drawing primitive before it is transformed by the |
26 canvas' matrix and drawn. | 26 canvas' matrix and drawn. |
27 | 27 |
28 Dashing is implemented as a subclass of SkPathEffect. | 28 Dashing is implemented as a subclass of SkPathEffect. |
29 */ | 29 */ |
30 class SK_API SkPathEffect : public SkFlattenable { | 30 class SK_API SkPathEffect : public SkFlattenable { |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 | 240 |
241 private: | 241 private: |
242 // illegal | 242 // illegal |
243 SkSumPathEffect(const SkSumPathEffect&); | 243 SkSumPathEffect(const SkSumPathEffect&); |
244 SkSumPathEffect& operator=(const SkSumPathEffect&); | 244 SkSumPathEffect& operator=(const SkSumPathEffect&); |
245 | 245 |
246 typedef SkPairPathEffect INHERITED; | 246 typedef SkPairPathEffect INHERITED; |
247 }; | 247 }; |
248 | 248 |
249 #endif | 249 #endif |
OLD | NEW |