Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 3eecaf760a787f5e17c7352b51da5759a06472c3..2e6cae9d86c5dc4db2884d58d7ed352d6be54aa5 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -98,8 +98,9 @@ public: |
/** Construct a canvas with the specified bitmap to draw into. |
@param bitmap Specifies a bitmap for the canvas to draw into. Its |
structure are copied to the canvas. |
+ @param props If specified, these are the new canvas surface properties. |
reed1
2015/01/30 20:18:26
// If NULL is passed, we use ...(?)... for the pro
f(malita)
2015/02/01 03:46:29
Argh. After trying to come up with a good descript
|
*/ |
- explicit SkCanvas(const SkBitmap& bitmap); |
+ explicit SkCanvas(const SkBitmap& bitmap, const SkSurfaceProps* props = NULL); |
reed1
2015/01/30 20:18:26
Can't use explicit when we have more than one para
|
virtual ~SkCanvas(); |
SkMetaData& getMetaData(); |
@@ -1278,7 +1279,6 @@ private: |
}; |
SkCanvas(const SkIRect& bounds, InitFlags); |
SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags); |
- SkCanvas(const SkBitmap&, const SkSurfaceProps&); |
// needs gettotalclip() |
friend class SkCanvasStateUtils; |