wxMaxima
|
A wxBitmap with a constructor that generates the image from SVG. More...
#include <SvgBitmap.h>
Public Member Functions | |
SvgBitmap (wxWindow *window, const unsigned char *data, const size_t len, int width=640, int height=480) | |
A constructor that loads the data into a wxBitmap. | |
SvgBitmap (wxWindow *window, const unsigned char *data, const std::size_t len, wxSize siz) | |
SvgBitmap (wxWindow *window, const wxString &data, wxSize siz) | |
SvgBitmap (SvgBitmap &&)=delete | |
SvgBitmap & | operator= (SvgBitmap &&o) noexcept |
const SvgBitmap & | SetSize (int width, int height) |
Sets the bitmap to a new size and renders the svg image at this size. | |
const SvgBitmap & | SetSize (wxSize siz) |
Sets the bitmap to a new size and renders the svg image at this size. | |
wxSize | GetOriginalSize () const |
Gets the original size of the svg image. | |
wxBitmap | GetInvalidBitmap (int targetSize) |
An "invalid bitmap" sign. | |
A wxBitmap with a constructor that generates the image from SVG.