00001
00002
00003
00004
00005
00006 #ifndef __XYCARTESIANSTEPMASK_H
00007 #define __XYCARTESIANSTEPMASK_H
00008
00009 #include "xymca.h"
00010
00011
00012
00013
00014
00015 class XYCartesianStepMask : public XYCartesianMask
00016 {
00017 public:
00018
00019
00020
00021 XYCartesianStepMask (
00022 XYText* name,
00023 XYSeries* series,
00024 const XYAxis* x_axis,
00025 const XYAxis* y_axis,
00026 long color,
00027 int width,
00028 LineStyle style,
00029 xybool visible = xytrue);
00030
00031
00032 XYCartesianStepMask (
00033 XYSeries* series,
00034 const XYAxis* x_axis,
00035 const XYAxis* y_axis,
00036 long color,
00037 int width,
00038 LineStyle style,
00039 xybool visible = xytrue);
00040
00041
00042 virtual ~XYCartesianStepMask (void) {};
00043
00044
00045
00046 virtual void width (int w);
00047
00048 virtual int width (void) const;
00049
00050
00051 virtual void style (XYMask::LineStyle s);
00052
00053 virtual int style (void) const;
00054
00055
00056
00057 virtual xybool pick (int px, int py);
00058
00059
00060 virtual xybool fence (int x0, int y0, int x1, int y1);
00061
00062
00063
00064 virtual void drawIcon (int xmin, int ymin, int xmax, int ymax) const;
00065
00066
00067 virtual void draw (void);
00068
00069 virtual void draw (int xmin, int ymin, int xmax, int ymax) const;
00070
00071
00072
00073 virtual void boundingBox (int& bxmin, int& bymin, int& bxmax, int& bymax) const;
00074
00075 private:
00076
00077 int _width;
00078 LineStyle _style;
00079 };
00080
00081 #endif
00082