13 #include <wx/wxfreechartdefs.h>
14 #include <wx/hashmap.h>
16 #include <wx/drawobject.h>
34 virtual void Draw(wxDC &dc, wxRect rc) = 0;
48 virtual void Draw(wxDC &dc, wxRect rc);
63 FillAreaDraw(wxPen borderPen = (wxPen) *wxBLACK_PEN, wxBrush fillBrush = (wxBrush) *wxWHITE_BRUSH);
65 FillAreaDraw(wxColour borderColour, wxColour fillColour);
69 virtual void Draw(wxDC &dc, wxRect rc);
86 m_borderPen = borderPen;
105 m_fillBrush = fillBrush;
129 wxColour colour1 = wxColour(200, 220, 250),
130 wxColour colour2 = wxColour(255, 255, 255),
131 wxDirection dir = wxEAST);
135 virtual void Draw(wxDC &dc, wxRect rc);
175 WX_DECLARE_HASH_MAP(
int,
AreaDraw *, wxIntegerHash, wxIntegerEqual, AreaDrawMap);
193 void SetAreaDraw(
int serie,
AreaDraw *areaDraw);
void SetBorderPen(wxPen borderPen)
Definition: areadraw.h:84
void SetDirection(wxDirection dir)
Definition: areadraw.h:161
Definition: areadraw.h:118
Definition: areadraw.h:22
void SetFillBrush(wxBrush fillBrush)
Definition: areadraw.h:103
const wxPen & GetBorderPen()
Definition: areadraw.h:75
Definition: areadraw.h:182
virtual void Draw(wxDC &dc, wxRect rc)=0
Definition: drawobject.h:45
void SetColour1(wxColour colour1)
Definition: areadraw.h:141
void SetColour2(wxColour colour2)
Definition: areadraw.h:151
Definition: areadraw.h:41
Definition: areadraw.h:55
const wxBrush & GetFillBrush()
Definition: areadraw.h:94