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"
24 //----------------------------------------------------------------------------
26 //----------------------------------------------------------------------------
27 class MARACASVISULIB_EXPORTS pPlotterScaleX: public pPlotterLayer
31 * This is the constructor of the class
33 pPlotterScaleX(wxString aName = wxT("X"),int flags = mpALIGN_NE);
35 * This is how the x-axis draw itself
37 virtual void Plot(wxDC& dc, mpWindow& w);
38 /** Check whether this layer has a bounding box.
39 This implementation returns \a FALSE thus making the ruler invisible
40 to the plot layer bounding box calculation by mpWindow.
42 virtual bool HasBBox() { return FALSE; }
44 DECLARE_CLASS (pPlotterScaleX)