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 SkPath_DEFINED | 10 #ifndef SkPath_DEFINED |
(...skipping 12 matching lines...) Expand all Loading... |
23 class SkRRect; | 23 class SkRRect; |
24 class SkWStream; | 24 class SkWStream; |
25 | 25 |
26 /** \class SkPath | 26 /** \class SkPath |
27 | 27 |
28 The SkPath class encapsulates compound (multiple contour) geometric paths | 28 The SkPath class encapsulates compound (multiple contour) geometric paths |
29 consisting of straight line segments, quadratic curves, and cubic curves. | 29 consisting of straight line segments, quadratic curves, and cubic curves. |
30 */ | 30 */ |
31 class SK_API SkPath { | 31 class SK_API SkPath { |
32 public: | 32 public: |
33 SK_DECLARE_INST_COUNT_ROOT(SkPath); | 33 SK_DECLARE_INST_COUNT(SkPath); |
34 | 34 |
35 SkPath(); | 35 SkPath(); |
36 SkPath(const SkPath&); | 36 SkPath(const SkPath&); |
37 ~SkPath(); | 37 ~SkPath(); |
38 | 38 |
39 SkPath& operator=(const SkPath&); | 39 SkPath& operator=(const SkPath&); |
40 friend SK_API bool operator==(const SkPath&, const SkPath&); | 40 friend SK_API bool operator==(const SkPath&, const SkPath&); |
41 friend bool operator!=(const SkPath& a, const SkPath& b) { | 41 friend bool operator!=(const SkPath& a, const SkPath& b) { |
42 return !(a == b); | 42 return !(a == b); |
43 } | 43 } |
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 } | 1038 } |
1039 | 1039 |
1040 friend class SkAutoPathBoundsUpdate; | 1040 friend class SkAutoPathBoundsUpdate; |
1041 friend class SkAutoDisableOvalCheck; | 1041 friend class SkAutoDisableOvalCheck; |
1042 friend class SkAutoDisableDirectionCheck; | 1042 friend class SkAutoDisableDirectionCheck; |
1043 friend class SkBench_AddPathTest; // perf test reversePathTo | 1043 friend class SkBench_AddPathTest; // perf test reversePathTo |
1044 friend class PathTest_Private; // unit test reversePathTo | 1044 friend class PathTest_Private; // unit test reversePathTo |
1045 }; | 1045 }; |
1046 | 1046 |
1047 #endif | 1047 #endif |
OLD | NEW |