2 #ifndef __pPlotterScaleX_h__
3 #define __pPlotterScaleX_h__
4 // ----------------------------------------------------------------------------
5 // WX headers inclusion.
6 // For compilers that support precompilation, includes <wx/wx.h>.
7 // ----------------------------------------------------------------------------
17 //----------------------------------------------------------------------------
19 //----------------------------------------------------------------------------
21 #include "pPlotterLayer.h"
23 //----------------------------------------------------------------------------
25 //----------------------------------------------------------------------------
26 class pPlotterScaleX: public pPlotterLayer
30 * This is the constructor of the class
32 pPlotterScaleX(wxString aName = wxT("X"),int flags = mpALIGN_NE);
34 * This is how the x-axis draw itself
36 virtual void Plot(wxDC& dc, mpWindow& w);
37 /** Check whether this layer has a bounding box.
38 This implementation returns \a FALSE thus making the ruler invisible
39 to the plot layer bounding box calculation by mpWindow.
41 virtual bool HasBBox() { return FALSE; }
43 DECLARE_CLASS (pPlotterScaleX)