Index: skia/ext/vector_platform_device_skia.h |
diff --git a/skia/ext/vector_platform_device_skia.h b/skia/ext/vector_platform_device_skia.h |
index 7aaa2a29e1da6a9ee187a3f30e9218936b031494..238996b7aaba91b2ab0dfdcda74ede17178224f4 100644 |
--- a/skia/ext/vector_platform_device_skia.h |
+++ b/skia/ext/vector_platform_device_skia.h |
@@ -79,8 +79,12 @@ class VectorPlatformDeviceSkia : public PlatformDevice { |
virtual void drawDevice(const SkDraw& draw, SkDevice*, int x, int y, |
const SkPaint&); |
+ // Sets the drawing area for the device. Subsequent draw calls are |
+ // directed to the specific drawing area (margin or content area). |
+ SK_API void setDrawingArea(SkPDFDevice::DrawingArea area); |
+ |
protected: |
- virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
+ virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width, |
int height, bool isOpaque, |
Usage usage); |