aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar schenney@chromium.org <schenney@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-18 18:02:10 +0000
committerGravatar schenney@chromium.org <schenney@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-18 18:02:10 +0000
commita6d04d90e2f0a35698a7380cef8d622a8ee0b33f (patch)
treec153962950ff83ca8fe049359667a251138b7c4b /include
parent8351aabbfe82a76a698fa2bde00d33c1174518cd (diff)
Fixing the behavior of SkPathMeasure to reflect changes in SkPath::Iter.
This implementation modifies SkPath::Iter extensively to avoid copying the points when used to measure path length. BUG=446 TEST=tests/PathMeasureTest.cpp Review URL: https://codereview.appspot.com/5533074 git-svn-id: http://skia.googlecode.com/svn/trunk@3062 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index ec79a49248..2774bea01a 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -753,7 +753,6 @@ private:
void computeBounds() const;
friend class Iter;
- void cons_moveto();
friend class SkPathStroker;
/* Append the first contour of path, ignoring path's initial point. If no
@@ -776,7 +775,6 @@ private:
//
inline void injectMoveToIfNeeded();
- friend const SkPoint* sk_get_path_points(const SkPath&, int index);
friend class SkAutoPathBoundsUpdate;
};