aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-04-29 08:28:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-29 08:28:30 -0700
commitaec251012542e971100e218bf463adbfb5d21d20 (patch)
tree16c2e84c2d59d94b75d7d2bc50fec53c0e38a898 /include
parent97fdea6c4393cf0102d7eee5790782509fb4f57b (diff)
minor fixes to cubics code and overall alignment of how bounds and tops are computed for all curve types
All but 17 extended tests work. A helper function is privately added to SkPath.h to permit a test to modify a given point in a path. BUG=skia:3588 Review URL: https://codereview.chromium.org/1107353004
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index b5b95e15e7..c413560102 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1034,6 +1034,8 @@ private:
ed.setBounds(rect);
}
+ void setPt(int index, SkScalar x, SkScalar y);
+
friend class SkAutoPathBoundsUpdate;
friend class SkAutoDisableOvalCheck;
friend class SkAutoDisableDirectionCheck;