Drawing Context.
Definition drawingcontext.h:43
const wxPoint & origin() const
Get the origin point on the device context.
Definition drawingcontext.h:73
bool isForFileExport()
Get the device context.
Definition drawingcontext.h:89
const wxPoint & scroll() const
Get the scrolling values for the horizontal and the vertical scrollbars.
Definition drawingcontext.h:118
const size_t & getLayerId() const
Get the layer id of the device context.
Definition drawingcontext.h:81
const wxPoint & clientSize() const
Get the client size.
Definition drawingcontext.h:126
DrawingContext(wxDC &dc, const wxPoint &origin, const wxPoint &offset, const wxPoint &scroll, const wxPoint &clientSize, const wxPoint &btRight, const size_t &layer=-1, bool forFileExport=false)
Constructor.
Definition drawingcontext.cpp:28
wxDC & device()
Get the device context.
Definition drawingcontext.h:97
const wxPoint & bottomRight() const
Get the absolute position of the point at the bottom right.
Definition drawingcontext.h:134
const wxPoint & offsetForSelectedNodes() const
Get the offset for selected items.
Definition drawingcontext.h:110
~DrawingContext()
Destructor.
Definition drawingcontext.h:65