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