wxFreeChart
xyarearenderer.h
1 // Name: xyarearenderer.h
3 // Purpose: xy area renderer declarations
4 // Author: Moskvichev Andrey V.
5 // Created: 2008/11/07
6 // Copyright: (c) 2008-2010 Moskvichev Andrey V.
7 // Licence: wxWidgets licence
9 
10 #ifndef XYAREARENDERER_H_
11 #define XYAREARENDERER_H_
12 
13 #include <wx/xy/xyrenderer.h>
14 
15 class WXDLLIMPEXP_FREECHART XYAreaRenderer : public XYRenderer
16 {
17  DECLARE_CLASS(XYAreaRenderer)
18 public:
19  XYAreaRenderer(const wxPen& outlinePen = *wxTRANSPARENT_PEN, const wxBrush& areaBrush = *wxGREY_BRUSH);
20  virtual ~XYAreaRenderer();
21 
22  virtual void Draw(wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset);
23 
24  virtual void Draw(wxDC &dc, wxRect rcData, wxCoord x0, wxCoord y0, wxCoord x1, wxCoord y1);
25 
26 private:
27  wxPen m_outlinePen;
28  wxBrush m_areaBrush;
29 };
30 
31 #endif /*XYAREARENDERER_H_*/
virtual void Draw(wxDC &dc, wxRect rc, Axis *horizAxis, Axis *vertAxis, XYDataset *dataset)=0
Draws dataset.
Base class for all XYDataset renderers.
Definition: xyrenderer.h:20
Base class for all axes.
Definition: axis.h:39
Base class for XY datasets.
Definition: xydataset.h:21