wxMaxima
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions
Svgout Class Referencefinal

Public Member Functions

 Svgout (const Configuration *const *configuration, const wxString &filename={}, double scale=1.0)
 The constructor.
 
 Svgout (const Configuration *const *configuration, std::unique_ptr< Cell > &&tree, const wxString &filename={}, double scale=1.0)
 
wxSize Render (std::unique_ptr< Cell > &&tree)
 Renders tree as svg.
 
wxSize GetSize () const
 
bool IsOk () const
 
bool ToClipboard ()
 Copies the svg representation of the list of cells that was passed to SetData()
 
std::unique_ptr< wxCustomDataObject > GetDataObject ()
 Returns the svg representation in a format that can be placed on the clipBoard.
 

Static Public Member Functions

static const wxDataFormat & GetDataFormat ()
 The clipboard format SVG data is offered in.
 

Member Function Documentation

◆ Render()

wxSize Svgout::Render ( std::unique_ptr< Cell > &&  tree)

Renders tree as svg.

Parameters
treeThe list of cells that is to be rendered
Returns
true, if the svgout could be created.

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