#include <wx/dcsvg.h>
Handler saving a bitmap to an external file and linking to it from the SVG.
This handler is used by default by wxSVGFileDC.
Public Member Functions | |
virtual bool | ProcessBitmap (const wxBitmap &bitmap, wxCoord x, wxCoord y, wxOutputStream &stream) const |
Writes the bitmap representation as SVG to the given stream. More... | |
|
virtual |
Writes the bitmap representation as SVG to the given stream.
The XML generated by this function will be inserted into the SVG file inline with the XML generated by the main wxSVGFileDC class so it is important that the XML is properly formed.
bitmap | A valid bitmap to add to SVG. |
x | Horizontal position of the bitmap. |
y | Vertical position of the bitmap. |
stream | The stream to write SVG contents to. |
Implements wxSVGBitmapHandler.