00001 #ifndef _DLPOLYGONSHAPE_H_ 00002 #define _DLPOLYGONSHAPE_H_ 00003 00004 #include "DLShape.h" 00015 class DLPolygonShape : public DLShape 00016 { 00017 public: 00024 DLPolygonShape(DLPoint* array); 00029 DLPolygonShape(const DLPolygonShape & orig); 00030 00035 const DLPolygonShape & operator=(const DLPolygonShape & right); 00036 00040 virtual ~DLPolygonShape() { }; 00041 00042 00047 void dlDrawShape(DLImage* image); 00048 00049 protected: 00051 DLPoint* array; 00052 00054 bool fillFlag; 00055 00057 int numofPoints; 00058 }; 00059 00061 #endif