#endif
}
-void Figura::dibujar(GtkWidget* widget) const {
- //out << "color(" << color << "), grosor(" << grosor
- // << "), nombre(" << nombre << "), centro(";
- //centro.dibujar(out);
+void Figura::set_gc(GdkGC* gc) const {
+ gdk_gc_set_line_attributes(
+ gc,
+ grosor,
+ GDK_LINE_SOLID,
+ GDK_CAP_ROUND,
+ GDK_JOIN_ROUND);
+ //gdk_gc_set_foreground(gc, c);
}