| Index: include/core/SkImage.h
|
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h
|
| index b302792c58227f1461fc409e7a35659d941a84dd..90448d859570b9db1aa055d4421e86630227cfd5 100644
|
| --- a/include/core/SkImage.h
|
| +++ b/include/core/SkImage.h
|
| @@ -150,6 +150,8 @@ public:
|
|
|
| int width() const { return fWidth; }
|
| int height() const { return fHeight; }
|
| + SkISize dimensions() const { return SkISize::Make(fWidth, fHeight); }
|
| + SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); }
|
| uint32_t uniqueID() const { return fUniqueID; }
|
| virtual bool isOpaque() const { return false; }
|
|
|
|
|