// alteration of a wxCanvasObject functionality
class wxCanvasObject: public wxEvtHandler
{
+ DECLARE_CLASS(wxCanvasObject)
public:
wxCanvasObject();
// The group has a matrix to position/rotate/scale the group.
class wxCanvasObjectGroup: public wxCanvasObject
{
+ DECLARE_CLASS(wxCanvasObjectGroup)
public:
wxCanvasObjectGroup(double x, double y);
virtual ~wxCanvasObjectGroup();
// The position/matrix of the referenced Object is accumulated with the one here.
class wxCanvasObjectRef: public wxCanvasObject
{
+ DECLARE_CLASS(wxCanvasObjectRef)
public:
wxCanvasObjectRef(double x, double y,wxCanvasObject* obj);
// wxCanvasRect
class wxCanvasRect: public wxCanvasObject
{
+ DECLARE_CLASS(wxCanvasRect)
public:
wxCanvasRect( double x, double y, double w, double h , double radius=0 );
void SetBrush( const wxBrush& brush) { m_brush = brush; };