Images are written by PictureRenderer and not render_pictures_main.
Review URL: https://codereview.appspot.com/6448174
git-svn-id: http://skia.googlecode.com/svn/trunk@5216 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index 4818457..cd6e18e 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -20,6 +20,7 @@
class SkCanvas;
class SkGLContext;
class SkPicture;
+class SkString;
namespace sk_tools {
@@ -37,10 +38,6 @@
virtual void end();
void resetState();
- SkCanvas* getCanvas() {
- return fCanvas.get();
- }
-
void setDeviceType(SkDeviceTypes deviceType) {
fDeviceType = deviceType;
}
@@ -71,6 +68,8 @@
#endif
{}
+ bool write(const SkString& path) const;
+
protected:
virtual void finishDraw();
SkCanvas* setupCanvas();