diff options
Diffstat (limited to 'printing/emf_win.h')
-rw-r--r-- | printing/emf_win.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/printing/emf_win.h b/printing/emf_win.h index e3a0a8e..f2ccffd 100644 --- a/printing/emf_win.h +++ b/printing/emf_win.h @@ -35,6 +35,9 @@ class Emf : public NativeMetafile { virtual bool Init() { return true; } virtual bool InitFromData(const void* src_buffer, uint32 src_buffer_size); + virtual skia::PlatformDevice* StartPageForVectorCanvas( + const gfx::Size& page_size, const gfx::Point& content_origin, + const float& scale_factor); // Inserts a custom GDICOMMENT records indicating StartPage/EndPage calls // (since StartPage and EndPage do not work in a metafile DC). Only valid // when hdc_ is non-NULL. |page_size| and |content_origin| are ignored. |