wxMaxima
Public Member Functions | List of all members
Svgout Class Referencefinal

Public Member Functions

 Svgout (Configuration **configuration, const wxString &filename={}, double scale=1.0)
 
 Svgout (Configuration **configuration, std::unique_ptr< Cell > &&tree, const wxString &filename={}, double scale=1.0)
 
wxSize Render (std::unique_ptr< Cell > &&tree)
 
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.
 

Constructor & Destructor Documentation

◆ Svgout()

Svgout::Svgout ( Configuration **  configuration,
const wxString &  filename = {},
double  scale = 1.0 
)
explicit

The constructor.

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: