#if !defined(_RECTANGLE_H_) #define _RECTANGLE_H_ #include "shape.h" class rectangle: public shape { protected: coordinate o; // midpoint double width,height; public: rectangle(const coordsys&,const coordinate&,double,double); virtual void draw(canvas&); }; #endif