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