diff options
author | 2010-03-05 18:46:37 +0000 | |
---|---|---|
committer | 2010-03-05 18:46:37 +0000 | |
commit | a6efe069040970a4d3b05e88484de4f82141f6e0 (patch) | |
tree | 979f0f57761fdb34be23fbf8b746a9895d578d60 | |
parent | 2295c6332512833760060d803cf6ad19a28adc51 (diff) |
document the return value of append()
git-svn-id: http://skia.googlecode.com/svn/trunk@521 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkPathHeap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/SkPathHeap.h b/src/core/SkPathHeap.h index b8f3bd3abb..1a0023ccd9 100644 --- a/src/core/SkPathHeap.h +++ b/src/core/SkPathHeap.h @@ -15,7 +15,10 @@ public: SkPathHeap(SkFlattenableReadBuffer&); virtual ~SkPathHeap(); - // called during picture-record + /** Copy the path into the heap, and return the new total number of paths. + Thus, the returned value will be index+1, where index is the index of + this newly added (copied) path. + */ int append(const SkPath&); // called during picture-playback |