Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: skia/ext/vector_platform_device_skia.h

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Custom length strings being printed Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..2998625879a7157e801949001653a99ed1f36442 100644
--- a/skia/ext/vector_platform_device_skia.h
+++ b/skia/ext/vector_platform_device_skia.h
@@ -79,6 +79,10 @@ 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
dpapad 2011/07/19 20:34:01 Nit: Remove double space.
Aayush Kumar 2011/07/21 21:58:53 Done.
+ // directed to the specific drawing area (margin or content area).
+ virtual void setDrawingArea(SkPDFDevice::DrawingArea area);
+
protected:
virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config, int width,
int height, bool isOpaque,

Powered by Google App Engine
This is Rietveld 408576698