From a6efe069040970a4d3b05e88484de4f82141f6e0 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 5 Mar 2010 18:46:37 +0000 Subject: document the return value of append() git-svn-id: http://skia.googlecode.com/svn/trunk@521 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkPathHeap.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3