+void Polygon::draw_contours(cairo_t* context_resource) {
+ cairo_set_line_width(context_resource, 1.0);
+ cairo_set_source_rgb (context_resource, 0.0, 0.0, 0.0);
+ for(int n = 0; n < _nb_vertices; n++) {
+ cairo_move_to(context_resource, _x[n], _y[n]);
+ cairo_line_to(context_resource, _x[(n+1)%_nb_vertices], _y[(n+1)%_nb_vertices]);
+ }
+ cairo_stroke(context_resource);
+}
+#endif
+