_nb_vertices, _x, _y);
}
+#ifdef X11_SUPPORT
void Polygon::draw(SimpleWindow *window) {
window->color(_red, _green, _blue);
int x[_nb_vertices], y[_nb_vertices];
window->draw_line(x[n], y[n], x[(n+1)%_nb_vertices], y[(n+1)%_nb_vertices]);
}
}
+#endif
#ifdef CAIRO_SUPPORT
void Polygon::draw(cairo_t* context_resource) {