46 explicit BitmapOut(
const Configuration *
const *configuration, std::unique_ptr<Cell> &&tree,
double scale = 1,
long maxSize = -1);
57 bool Render(std::unique_ptr<Cell> &&tree,
long int maxSize = -1);
60 bool IsOk()
const {
return m_isOk; }
66 wxSize
ToFile(
const wxString &file);
71 std::unique_ptr<wxBitmapDataObject> GetDataObject()
const;
77 std::unique_ptr<Cell> m_tree;
83 bool Layout(
long int maxSize = -1);
This is the header for common code used by various file output modules that render cells to files.
Renders portions of the work sheet (including 2D maths) as bitmap.
Definition: BitmapOut.h:35
wxSize ToFile(const wxString &file)
Exports this bitmap to a file.
Definition: BitmapOut.cpp:113
bool ToClipboard() const
Copies the bitmap representation of the list of cells that was passed to SetData()
Definition: BitmapOut.cpp:143
wxBitmap GetBitmap() const
Returns the bitmap representation of the list of cells that was passed to SetData()
Definition: BitmapOut.h:69
bool Render(std::unique_ptr< Cell > &&tree, long int maxSize=-1)
Renders tree as bitmap.
Definition: BitmapOut.cpp:56
bool IsOk() const
Returns whether the tree rendering succeeded.
Definition: BitmapOut.h:60
The configuration storage for the current worksheet.
Definition: Configuration.h:85
A collection of common code used in rendering the cells to a non-default output, e....
Definition: OutCommon.h:43