34#include <wx/bmpbndl.h>
51 SvgBitmap(wxWindow *window,
const unsigned char *data,
const size_t len,
int width = 640,
int height = 480);
52 SvgBitmap(wxWindow *window,
const unsigned char *data,
const std::size_t len, wxSize siz);
A wxBitmap with a constructor that generates the image from SVG.
Definition: SvgBitmap.h:43
static wxBitmap GetInvalidBitmap(int targetSize)
An "invalid bitmap" sign.
Definition: SvgBitmap.cpp:161
const SvgBitmap & SetSize(wxSize siz)
Sets the bitmap to a new size and renders the svg image at this size.
Definition: SvgBitmap.h:59
static wxString TextRenderingDiagnosis(bool rendersText)
Why SVG plots are available or not, given RendersText()'s result.
Definition: SvgBitmap.cpp:119
SvgBitmap(wxWindow *window, const unsigned char *data, const size_t len, int width=640, int height=480)
Renders an SVG image.
const SvgBitmap & SetSize(int width, int height)
Sets the bitmap to a new size and renders the svg image at this size.
Definition: SvgBitmap.cpp:61
static bool RendersText()
Does the SVG renderer wxWidgets was built with draw text?
Definition: SvgBitmap.cpp:152