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; |
+ /** |
+ * Return SurfaceProps for this canvas. If the canvas is not backed by pixels |
+ * (cpu or gpu), then this will return null. |
reed1
2016/04/04 21:12:29
1. I think recording canvases have a device, so th
Brian Osman
2016/04/04 21:42:35
My understanding (and Brian's claim) was that the
|
+ */ |
+ const SkSurfaceProps* props() const; |
+ |
/////////////////////////////////////////////////////////////////////////// |
/** |