diff options
-rw-r--r-- | include/core/SkCanvas.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 13b3bc6f77..b2bc9ed3f4 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -554,23 +554,6 @@ public: return !bounds->isEmpty(); } -#ifdef SK_SUPPORT_LEGACY_GETCLIPBOUNDS - bool getClipBounds(SkRect* bounds) const { - SkRect r = this->getLocalClipBounds(); - if (bounds) { - *bounds = r; - } - return !r.isEmpty(); - } - bool getClipDeviceBounds(SkIRect* bounds) const { - SkIRect r = this->getDeviceClipBounds(); - if (bounds) { - *bounds = r; - } - return !r.isEmpty(); - } -#endif - /** Fill the entire canvas' bitmap (restricted to the current clip) with the specified ARGB color, using the specified mode. @param a the alpha component (0..255) of the color to fill the canvas |