GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing docs.wxpython.org — wx.SVGBitmapFileHandler — wxPython 4.3.2 Docs
|
Create a wx.SVGBitmapFileHandler and specify the location where the file will be saved. |
|
Writes the bitmap representation as |
Class API¶Possible constructors:
SVGBitmapFileHandler(path) -> None
Handler saving bitmaps to external PNG files and linking to it from
the SVG.
Create a wx.SVGBitmapFileHandler and specify the location where the file will be saved.
path (string) – The path of the save location. If path contains a filename, the autogenerated filename will be appended to this name.
None
Added in version 4.1/wxWidgets-3.1.3.
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 wx.SVGFileDC class so it is important that the XML is properly formed.
bitmap (wx.Bitmap) – A valid bitmap to add to SVG.
x (int) – Horizontal position of the bitmap.
y (int) – Vertical position of the bitmap.
stream (wx.OutputStream) – The stream to write SVG contents to.
bool