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

Unified Diff: include/core/SkPath.h

Issue 65493004: increase coverage of SkPath.cpp, remove unused code (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: remove dead code Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/gmslides.gypi ('k') | src/core/SkPath.cpp » ('j') | tests/PathTest.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPath.h
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 2b111fe505915fa0fb8025625f64950444f9b161..04cbcfd4524d561576490d88f03ee198843c51ec 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -889,12 +889,6 @@ public:
SkPoint fLastPt;
};
- /**
- * Returns true if the point { x, y } is contained by the path, taking into
- * account the FillType.
- */
- bool contains(SkScalar x, SkScalar y) const;
reed1 2013/11/13 18:37:52 This guy was written partly to optimize the code i
caryclark 2013/11/13 18:52:37 I can put it back. It isn't called today within Sk
reed1 2013/11/13 18:58:58 Well, it was called, until you removed the GM that
-
void dump(bool forceClose, const char title[] = NULL) const;
void dump() const;
@@ -972,11 +966,6 @@ private:
friend class Iter;
friend class SkPathStroker;
- /* Append the first contour of path, ignoring path's initial point. If no
- moveTo() call has been made for this contour, the first point is
- automatically set to (0,0).
- */
- void pathTo(const SkPath& path);
/* Append, in reverse order, the first contour of path, ignoring path's
last point. If no moveTo() call has been made for this contour, the
@@ -1019,7 +1008,8 @@ private:
friend class SkAutoPathBoundsUpdate;
friend class SkAutoDisableOvalCheck;
friend class SkAutoDisableDirectionCheck;
- friend class SkBench_AddPathTest; // perf test pathTo/reversePathTo
+ friend class SkBench_AddPathTest; // perf test reversePathTo
+ friend class PathTest_Private; // unit test reversePathTo
};
#endif
« no previous file with comments | « gyp/gmslides.gypi ('k') | src/core/SkPath.cpp » ('j') | tests/PathTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698