X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=dyncnn.git;a=blobdiff_plain;f=universe.cc;h=2b1383d3f7b1459ec619b4b37e0226e8d5172a27;hp=658c32cb53a7243bf13b4bd9b3c9421d89c9e603;hb=fe5dee151313b6abd8ffee2c5fc5593f326e663f;hpb=be0c7d53f21ce96c70e7c13ef0ba2c9eca10ca23 diff --git a/universe.cc b/universe.cc index 658c32c..2b1383d 100644 --- a/universe.cc +++ b/universe.cc @@ -138,37 +138,6 @@ Polygon *Universe::pick_polygon(scalar_t x, scalar_t y) { 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]) {