Chromium Code Reviews| 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(SkPath); | |
|
bsalomon
2015/01/26 19:07:47
??
joshualitt
2015/01/26 19:33:39
I deleted this because SkPath no longer inherits f
| |
| 34 | |
| 35 SkPath(); | 33 SkPath(); |
| 36 SkPath(const SkPath&); | 34 SkPath(const SkPath&); |
| 37 ~SkPath(); | 35 ~SkPath(); |
| 38 | 36 |
| 39 SkPath& operator=(const SkPath&); | 37 SkPath& operator=(const SkPath&); |
| 40 friend SK_API bool operator==(const SkPath&, const SkPath&); | 38 friend SK_API bool operator==(const SkPath&, const SkPath&); |
| 41 friend bool operator!=(const SkPath& a, const SkPath& b) { | 39 friend bool operator!=(const SkPath& a, const SkPath& b) { |
| 42 return !(a == b); | 40 return !(a == b); |
| 43 } | 41 } |
| 44 | 42 |
| (...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1038 } | 1036 } |
| 1039 | 1037 |
| 1040 friend class SkAutoPathBoundsUpdate; | 1038 friend class SkAutoPathBoundsUpdate; |
| 1041 friend class SkAutoDisableOvalCheck; | 1039 friend class SkAutoDisableOvalCheck; |
| 1042 friend class SkAutoDisableDirectionCheck; | 1040 friend class SkAutoDisableDirectionCheck; |
| 1043 friend class SkBench_AddPathTest; // perf test reversePathTo | 1041 friend class SkBench_AddPathTest; // perf test reversePathTo |
| 1044 friend class PathTest_Private; // unit test reversePathTo | 1042 friend class PathTest_Private; // unit test reversePathTo |
| 1045 }; | 1043 }; |
| 1046 | 1044 |
| 1047 #endif | 1045 #endif |
| OLD | NEW |