Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: include/core/SkPath.h

Issue 841263004: Simplify SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: T:: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkInstCnt.h ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « include/core/SkInstCnt.h ('k') | include/core/SkRefCnt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698