aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views
diff options
context:
space:
mode:
Diffstat (limited to 'include/views')
-rw-r--r--include/views/SkWindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
index 6db85a421c..850a7e7211 100644
--- a/include/views/SkWindow.h
+++ b/include/views/SkWindow.h
@@ -41,9 +41,12 @@ public:
fSurfaceProps = props;
}
+ SkImageInfo info() const { return fBitmap.info(); }
const SkBitmap& getBitmap() const { return fBitmap; }
void resize(int width, int height);
+ void resize(const SkImageInfo&);
+ void setColorType(SkColorType, SkColorProfileType);
bool isDirty() const { return !fDirtyRgn.isEmpty(); }
bool update(SkIRect* updateArea);