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 = *wxBLACK_PEN, wxBrush fillBrush = *wxWHITE_BRUSH);
65 FillAreaDraw(wxColour borderColour, wxColour fillColour);
69 virtual void Draw(wxDC &dc, wxRect rc);
86 m_borderPen = borderPen;
104 m_fillBrush = fillBrush;
127 wxColour colour1 = wxColour(200, 220, 250),
128 wxColour colour2 = wxColour(255, 255, 255),
129 wxDirection dir = wxEAST);
133 virtual void Draw(wxDC &dc, wxRect rc);
170 WX_DECLARE_HASH_MAP(
int,
AreaDraw *, wxIntegerHash, wxIntegerEqual, AreaDrawMap);
190 void SetAreaDraw(
int serie,
AreaDraw *areaDraw);
void SetColour2(wxColour colour2)
Sets gradient fill second color.
void SetFillBrush(wxBrush fillBrush)
Sets fill brush.
Collection of areadraws for series.
void SetDirection(wxDirection dir)
Sets gradient fill direction.
Base class for objects drawn on chart or perform drawing of another objects (like renderers...
void SetBorderPen(wxPen borderPen)
Sets border pen.
const wxPen & GetBorderPen()
Returns border pen.
virtual void Draw(wxDC &dc, wxRect rc)=0
Draw area background.
const wxBrush & GetFillBrush()
Returns fill brush.
Fills area with specified brush and draw outline of area with specified pen.
Base class for drawing area background.
void SetColour1(wxColour colour1)
Sets gradient fill first color.