From a707f6087455834fab5525a0c656cc5b6df2ff29 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Thu, 12 Apr 2012 16:12:16 +0000 Subject: [PATCH] mark getTotalClip as deprecated remove unimplemented (and duplicate) getTotalClipBounds git-svn-id: http://skia.googlecode.com/svn/trunk@3661 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/core/SkCanvas.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index edae7d3a4a..a09a59261f 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -879,18 +879,12 @@ public: ClipType getClipType() const; /** Return the current device clip (concatenation of all clip calls). - This does not account for the translate in any of the devices. - @return the current device clip (concatenation of all clip calls). - */ - const SkRegion& getTotalClip() const; - - /** - * Return true if the current clip is non-empty. + * This does not account for the translate in any of the devices. + * @return the current device clip (concatenation of all clip calls). * - * If bounds is not NULL, set it to the bounds of the current clip - * in global coordinates. + * DEPRECATED -- call getClipDeviceBounds() instead. */ - bool getTotalClipBounds(SkIRect* bounds) const; + const SkRegion& getTotalClip() const; /** * Return the current clipstack. This mirrors the result in getTotalClip()