#ifndef _PROTO_POLYGON_HPP_ #define _PROTO_POLYGON_HPP_ #ifndef _COMMON_GDIPOINT_HPP_ #include #endif #ifndef _COMMON_BLOCK_HPP_ #include #endif #ifndef _PROTO_GDILINE_HPP_ #include #endif class GDIPolygon : public Block { public: GDIPolygon(void); GDIPolygon(const GDIPolygon &somePolygon); virtual ~GDIPolygon(); GDIPolygon &operator=(const GDIPolygon &someGDIPolygon); GDIPolygon &operator+=(const Block &someGDILines); private: }; inline GDIPolygon::GDIPolygon(void) { } inline GDIPolygon::GDIPolygon(const GDIPolygon &somePolygon) : Block(somePolygon) { } inline GDIPolygon::~GDIPolygon() { } inline GDIPolygon &GDIPolygon::operator=(const GDIPolygon &someGDIPolygon) { (Block&)*this=(Block&)someGDIPolygon; return *this; } inline GDIPolygon &GDIPolygon::operator+=(const Block &someGDILines) { (Block&)*this+=someGDILines; return *this; } #endif