From 40408614655c4057d93842c9b0f09aa6dfff9e02 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 2 Jul 2010 17:24:23 +0000 Subject: [PATCH] oops, also update dox for saveLayerAlpha git-svn-id: http://skia.googlecode.com/svn/trunk@585 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkCanvas.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index b9dfa08159..0ccc2dd999 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -145,8 +145,10 @@ public: offscreen bitmap. All drawing calls are directed there, and only when the balancing call to restore() is made is that offscreen transfered to the canvas (or the previous layer). - @param bounds (may be null) the maximum size the offscreen bitmap needs - to be (in local coordinates) + @param bounds (may be null) This rect, if non-null, is used as a hint to + limit the size of the offscreen, and thus drawing may be + clipped to it, though that clipping is not guaranteed to + happen. If exact clipping is desired, use clipRect(). @param alpha This is applied to the offscreen when restore() is called. @param flags LayerFlags @return The value to pass to restoreToCount() to balance this save()