diff options
author | 2013-08-15 21:14:51 +0000 | |
---|---|---|
committer | 2013-08-15 21:14:51 +0000 | |
commit | cb8b0eeacfc2ff79a2b9721e3ef21d1efb507dc8 (patch) | |
tree | 2b247f21cfff9c2e0328fd4eef2e338aaae3c816 /include | |
parent | 259fbaf7a464827bc560517988daeb5836e11e98 (diff) |
Update how SkPath handles fGenerationID and fSourcePath, and add tests to cover.
BUG=
R=bungeman@google.com, reed@google.com
Review URL: https://codereview.chromium.org/22911002
git-svn-id: http://skia.googlecode.com/svn/trunk@10756 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/core/SkPath.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h index be15a63c89..cc4dfcb494 100644 --- a/include/core/SkPath.h +++ b/include/core/SkPath.h @@ -166,12 +166,14 @@ public: /** Clear any lines and curves from the path, making it empty. This frees up internal storage associated with those segments. + On Android, does not change fSourcePath. */ void reset(); /** Similar to reset(), in that all lines and curves are removed from the path. However, any internal storage for those lines/curves is retained, making reuse of the path potentially faster. + On Android, does not change fSourcePath. */ void rewind(); |