summaryrefslogtreecommitdiffstats
path: root/printing/emf_win.h
diff options
context:
space:
mode:
Diffstat (limited to 'printing/emf_win.h')
-rw-r--r--printing/emf_win.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/printing/emf_win.h b/printing/emf_win.h
index 459886e..f8a0558 100644
--- a/printing/emf_win.h
+++ b/printing/emf_win.h
@@ -28,6 +28,9 @@ class Emf {
Emf();
~Emf();
+ // Initializes the Emf with the data in |src_buffer|. Returns true on success.
+ bool Init(const void* src_buffer, uint32 src_buffer_size);
+
// Generates a virtual HDC that will record every GDI commands and compile it
// in a EMF data stream.
// hdc is used to setup the default DPI and color settings. hdc is optional.
@@ -38,9 +41,6 @@ class Emf {
// Similar to the above method but the metafile is backed by a file.
bool CreateFileBackedDc(HDC sibling, const RECT* rect, const FilePath& path);
- // Load a EMF data stream. buffer contains EMF data.
- bool CreateFromData(const void* buffer, uint32 size);
-
// Load an EMF file.
bool CreateFromFile(const FilePath& metafile_path);