Allow to set the SVG title when creating a wxSVGFileDC.

This commit is contained in:
Maarten Bent
2016-03-15 23:50:33 +01:00
parent 2171d407e1
commit 045265a7bb
3 changed files with 17 additions and 11 deletions

View File

@@ -40,9 +40,11 @@ class wxSVGFileDC : public wxDC
public:
/**
Initializes a wxSVGFileDC with the given @a f filename with the given
@a Width and @a Height at @a dpi resolution.
@a Width and @a Height at @a dpi resolution, and an optional @a title.
The title provides a readable name for the SVG document.
*/
wxSVGFileDC(const wxString& filename, int width = 320, int height = 240, double dpi = 72);
wxSVGFileDC(const wxString& filename, int width = 320, int height = 240,
double dpi = 72, const wxString& title = wxString());
/**
Destructor.