From ad164b2025cba65131ca68221a6ea7640d7b1de8 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 2 Jul 2010 17:20:51 +0000 Subject: [PATCH] update dox for saveLayer() git-svn-id: http://skia.googlecode.com/svn/trunk@584 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 f277a6be45..b9dfa08159 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -129,8 +129,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 paint (may be null) This is copied, and is applied to the offscreen when restore() is called @param flags LayerFlags -- 2.34.1