25 #ifndef GCCV_POLYGON_H 26 #define GCCV_POLYGON_H 70 void SetPoints (std::list <Point> &points);
94 void Draw (cairo_t *cr,
bool is_vector)
const;
100 virtual void BuildPath (cairo_t *cr)
const;
107 void Move (
double x,
double y);
124 #endif // GCCV_POLYGON_H the base class for objects associated with a canvas item.
void Draw(cairo_t *cr, bool is_vector) const
std::list< Point > m_Points
Polygon(Canvas *canvas, std::list< Point > &points)
Gnome Chemistry Canvas library namespace.
void Move(double x, double y)
double Distance(double x, double y, Item **item) const
Base class for filled items.
void AddPoint(double x, double y)
void SetPoints(std::list< Point > &points)
virtual void BuildPath(cairo_t *cr) const
The base class for the canvas contents.