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

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

Issue 2481463002: use reversePathTo in place of addPathReverse (Closed)
Patch Set: fix nanobench; stop after one contour Created 4 years, 1 month 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 | « no previous file | include/pathops/SkPathOps.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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPath_DEFINED 8 #ifndef SkPath_DEFINED
9 #define SkPath_DEFINED 9 #define SkPath_DEFINED
10 10
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1183 SkPathRef::Editor ed(&fPathRef); 1183 SkPathRef::Editor ed(&fPathRef);
1184 1184
1185 ed.setBounds(rect); 1185 ed.setBounds(rect);
1186 } 1186 }
1187 1187
1188 void setPt(int index, SkScalar x, SkScalar y); 1188 void setPt(int index, SkScalar x, SkScalar y);
1189 1189
1190 friend class SkAutoPathBoundsUpdate; 1190 friend class SkAutoPathBoundsUpdate;
1191 friend class SkAutoDisableOvalCheck; 1191 friend class SkAutoDisableOvalCheck;
1192 friend class SkAutoDisableDirectionCheck; 1192 friend class SkAutoDisableDirectionCheck;
1193 friend class SkPathWriter;
1194 friend class SkOpBuilder;
1193 friend class SkBench_AddPathTest; // perf test reversePathTo 1195 friend class SkBench_AddPathTest; // perf test reversePathTo
1194 friend class PathTest_Private; // unit test reversePathTo 1196 friend class PathTest_Private; // unit test reversePathTo
1195 friend class ForceIsRRect_Private; // unit test isRRect 1197 friend class ForceIsRRect_Private; // unit test isRRect
1196 }; 1198 };
1197 1199
1198 #endif 1200 #endif
OLDNEW
« no previous file with comments | « no previous file | include/pathops/SkPathOps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698