diff options
Diffstat (limited to 'include/core/SkRect.h')
-rw-r--r-- | include/core/SkRect.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/core/SkRect.h b/include/core/SkRect.h index 9f3b59a38f..b2f515129d 100644 --- a/include/core/SkRect.h +++ b/include/core/SkRect.h @@ -26,12 +26,6 @@ struct SK_API SkIRect { return r; } - static SkIRect SK_WARN_UNUSED_RESULT MakeLargest() { - SkIRect r; - r.setLargest(); - return r; - } - static SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { SkIRect r; r.set(0, 0, w, h); @@ -100,11 +94,6 @@ struct SK_API SkIRect { */ bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } - bool isLargest() const { return SK_MinS32 == fLeft && - SK_MinS32 == fTop && - SK_MaxS32 == fRight && - SK_MaxS32 == fBottom; } - friend bool operator==(const SkIRect& a, const SkIRect& b) { return !memcmp(&a, &b, sizeof(a)); } |