#if !defined(_SHAPE_H_) #define _SHAPE_H_ #include "drawable.h" class shape: public drawable { protected: double center_angle; bool filled; color fill_color; static bool inside(const coordinate&,const canvas&); static bool intersects(const coordinate&, const coordinate&, const canvas&, coordinate&); static coordinate find_in(const coordinate&,const coordinate&, const canvas&); public: shape(const coordsys&); void set_filled(bool = true); void set_center_angle(double); void set_fill_color(const color&); }; #endif