wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
SvgBitmap Class Reference

A wxBitmap with a constructor that generates the image from SVG. More...

#include <SvgBitmap.h>

Inheritance diagram for SvgBitmap:
[legend]
Collaboration diagram for SvgBitmap:
[legend]

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
 
SvgBitmapoperator= (SvgBitmap &&o) noexcept
 
const SvgBitmapSetSize (int width, int height)
 Sets the bitmap to a new size and renders the svg image at this size.
 
const SvgBitmapSetSize (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.
 

Detailed Description

A wxBitmap with a constructor that generates the image from SVG.


The documentation for this class was generated from the following files: