diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-12 16:12:16 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-12 16:12:16 +0000 |
commit | a707f6087455834fab5525a0c656cc5b6df2ff29 (patch) | |
tree | 872453de6991602c727d0c44dc249f9e2b54cd6b /include/core/SkCanvas.h | |
parent | 875eb9835a2325e405daa61cc97c2d624feae814 (diff) |
mark getTotalClip as deprecated
remove unimplemented (and duplicate) getTotalClipBounds
git-svn-id: http://skia.googlecode.com/svn/trunk@3661 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkCanvas.h')
-rw-r--r-- | include/core/SkCanvas.h | 14 |
1 files 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() |