Index: include/core/SkImage.h |
diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
index b67f0a3d09ade2773f7bc7ae08030e9a91b366b9..290996e0a9c37a95338b005faecb0bb2f4c3d855 100644 |
--- a/include/core/SkImage.h |
+++ b/include/core/SkImage.h |
@@ -167,6 +167,11 @@ public: |
SkIRect bounds() const { return SkIRect::MakeWH(fWidth, fHeight); } |
uint32_t uniqueID() const { return fUniqueID; } |
SkAlphaType alphaType() const; |
+ |
+ /** |
robertphillips
2016/10/31 17:18:13
fi ?
|
+ * Returns true fi the image will be drawn as a mask, with no intrinsic color of its own. |
+ */ |
+ bool isAlphaOnly() const; |
bool isOpaque() const { return SkAlphaTypeIsOpaque(this->alphaType()); } |
/** |