00001
00002
00003
00004
00005
00006 #ifndef __XYCARTESIANLINEMARKMASK_H
00007 #define __XYCARTESIANLINEMARKMASK_H
00008
00009 #include "xymcaln.h"
00010
00011
00012
00013
00014 class XYCartesianLineMarkMask : public XYCartesianLineMask
00015 {
00016 public:
00017
00018
00019
00020 XYCartesianLineMarkMask (
00021 XYText* name,
00022 XYSeries* series,
00023 const XYAxis* x_axis,
00024 const XYAxis* y_axis,
00025 long color,
00026 int width,
00027 LineStyle style,
00028 int size,
00029 MarkStyle mark,
00030 xybool visible = xytrue);
00031
00032
00033 XYCartesianLineMarkMask (
00034 XYSeries* series,
00035 const XYAxis* x_axis,
00036 const XYAxis* y_axis,
00037 long color,
00038 int width,
00039 LineStyle style,
00040 int size,
00041 MarkStyle mark,
00042 xybool visible = xytrue);
00043
00044
00045 virtual ~XYCartesianLineMarkMask (void) {};
00046
00047
00048
00049 virtual void size (int s);
00050
00051 virtual int size (void) const;
00052
00053
00054 virtual void mark (XYMask::MarkStyle m);
00055
00056 virtual int mark (void) const;
00057
00058
00059
00060 virtual xybool pick (int px, int py);
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 private:
00072
00073 int _size;
00074 MarkStyle _mark;
00075 };
00076
00077 #endif
00078