Fixing the behavior of SkPathMeasure to reflect changes in SkPath::Iter.
authorschenney@chromium.org <schenney@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Jan 2012 18:02:10 +0000 (18:02 +0000)
committerschenney@chromium.org <schenney@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 18 Jan 2012 18:02:10 +0000 (18:02 +0000)
commita6d04d90e2f0a35698a7380cef8d622a8ee0b33f
treec153962950ff83ca8fe049359667a251138b7c4b
parent8351aabbfe82a76a698fa2bde00d33c1174518cd
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
include/core/SkPath.h
src/core/SkPathMeasure.cpp
tests/PathMeasureTest.cpp