Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 91952c3050002d8d4ee35d59546786a8452fe223..f0781069a39ca464a0d96e22c26b280ffbcb93cc 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -122,6 +122,12 @@ public: |
*/ |
SkImageInfo imageInfo() const; |
+ /** |
robertphillips
2016/04/05 12:54:34
move these over 1 ' ' ?
Brian Osman
2016/04/05 15:36:41
Acknowledged.
|
+ * Return SurfaceProps for this canvas. If the canvas is not backed by pixels |
+ * (cpu or gpu), then this will return null. |
+ */ |
+ const SkSurfaceProps* props() const; |
+ |
/////////////////////////////////////////////////////////////////////////// |
/** |