remove SK_SUPPORT_LEGACY_GETCLIPBOUNDS
BUG=skia:6166 Change-Id: I5c8035ee172e14a7a769baff45392a29014d09cb Reviewed-on: https://skia-review.googlesource.com/7645 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>
This commit is contained in:
parent
0bd4a23ef4
commit
837e74365e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user