00001
00002
00003
00004
00005
00006 #ifndef __XYCARTESIANSTEPMARKMASK_H
00007 #define __XYCARTESIANSTEPMARKMASK_H
00008
00009 #include "xymcast.h"
00010
00011
00012
00013
00014
00015 class XYCartesianStepMarkMask : public XYCartesianStepMask
00016 {
00017 public:
00018
00019
00020
00021 XYCartesianStepMarkMask (
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 int size,
00030 MarkStyle mark,
00031 xybool visible = xytrue);
00032
00033
00034 XYCartesianStepMarkMask (
00035 XYSeries* series,
00036 const XYAxis* x_axis,
00037 const XYAxis* y_axis,
00038 long color,
00039 int width,
00040 LineStyle style,
00041 int size,
00042 MarkStyle mark,
00043 xybool visible = xytrue);
00044
00045
00046 virtual ~XYCartesianStepMarkMask (void) {};
00047
00048
00049
00050 virtual void size (int s);
00051
00052 virtual int size (void) const;
00053
00054
00055 virtual void mark (XYMask::MarkStyle m);
00056
00057 virtual int mark (void) const;
00058
00059
00060
00061 virtual xybool pick (int px, int py);
00062
00063
00064
00065 virtual void drawIcon (int xmin, int ymin, int xmax, int ymax) const;
00066
00067
00068 virtual void draw (void);
00069
00070 virtual void draw (int xmin, int ymin, int xmax, int ymax) const;
00071
00072 private:
00073
00074 int _size;
00075 MarkStyle _mark;
00076 };
00077
00078 #endif
00079