Index: include/core/SkBitmap.h |
diff --git a/include/core/SkBitmap.h b/include/core/SkBitmap.h |
index b36a1fd3fddc59b211c21be88efd367af01bfb53..10fdd5547a5bfd5479415856d89b1ce6d9ef2b3a 100644 |
--- a/include/core/SkBitmap.h |
+++ b/include/core/SkBitmap.h |
@@ -83,6 +83,9 @@ public: |
SkColorType colorType() const { return fInfo.colorType(); } |
SkAlphaType alphaType() const { return fInfo.alphaType(); } |
+ SkIRect bounds() const { return fInfo.bounds(); } |
reed1
2014/10/24 18:42:35
nit: lets move these next to the existing getBound
hal.canary
2014/10/24 19:04:10
Done.
|
+ SkISize dimensions() const { return fInfo.dimensions(); } |
+ |
/** |
* Return the number of bytes per pixel based on the colortype. If the colortype is |
* kUnknown_SkColorType, then 0 is returned. |