document the return value of append()
authorreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 5 Mar 2010 18:46:37 +0000 (18:46 +0000)
committerreed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 5 Mar 2010 18:46:37 +0000 (18:46 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@521 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkPathHeap.h

index b8f3bd3..1a0023c 100644 (file)
@@ -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