return 0;
}
-#ifdef XFIG_SUPPORT
-void Universe::print_xfig(XFigTracer *tracer) {
- for(int n = 0; n < _nb_polygons; n++) {
- if(_polygons[n]) {
- _polygons[n]->color_xfig(tracer);
- }
- }
- for(int n = 0; n < _nb_polygons; n++) {
- if(_polygons[n]) {
- _polygons[n]->print_xfig(tracer);
- }
- }
-}
-#endif
-
-#ifdef X11_SUPPORT
-void Universe::draw(SimpleWindow *window) {
- for(int n = 0; n < _nb_polygons; n++) {
- if(_polygons[n]) {
- _polygons[n]->draw(window);
- }
- }
-
- for(int n = 0; n < _nb_polygons; n++) {
- if(_polygons[n]) {
- _polygons[n]->draw_contours(window);
- }
- }
-}
-#endif
-
void Universe::draw(Canvas *canvas) {
for(int n = 0; n < _nb_polygons; n++) {
if(_polygons[n]) {