00001 #pragma ident "$Id: Polygon.hpp 1644 2009-01-27 19:26:14Z ckiesch $"
00002
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef VDRAW_POLYGON_H
00029 #define VDRAW_POLYGON_H
00030
00031 #include<string>
00032 #include<list>
00033
00034 #include "StrokeStyle.hpp"
00035 #include "Color.hpp"
00036 #include "Path.hpp"
00037 #include "Fillable.hpp"
00038
00039 namespace vdraw
00040 {
00043
00048 class Polygon : public Path, public Fillable {
00049
00050 public:
00051
00057 Polygon(const Path& iPath)
00058 : Path(iPath), Fillable()
00059 {}
00060
00068 Polygon(const Path& iPath,
00069 const StrokeStyle& istyle)
00070 : Path(iPath), Fillable(istyle)
00071 {}
00072
00080 Polygon(const Path& iPath,
00081 const StrokeStyle& istyle,
00082 const Color& iFillColor)
00083 : Path(iPath), Fillable(istyle,iFillColor)
00084 {}
00085
00092 Polygon(const Path& iPath,
00093 const Color& iFillColor)
00094 : Path(iPath), Fillable(iFillColor)
00095 {}
00096
00097
00098 protected:
00099
00100 private:
00101
00102 };
00103
00105
00106 }
00107
00108 #endif //VDRAW_POLYGON_H
00109