From: Victor jetten Newsgroups: comp.os.msdos.djgpp Subject: all is polygon in Allegro?? Date: Wed, 14 Jan 1998 15:01:41 -0800 Organization: INRA Lines: 14 Message-ID: <34BD43D5.EA2F15B4@laon.inra.fr> NNTP-Posting-Host: 192.93.98.129 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk hi, a) if you look at commands like triangle, quad etc, all functions call polygon with 3 edges, 4 edges etc. I agree that this ellegant, but is it fast? It seems that this would use a lot of unnecessary overhead. Is this so? b) in polygon.c all drawing routines, float or fixed, are converted to fixed point in the structure POLYGON_EDGE. Again, why? This just seems to lead to endless ftofix and other conversions, while finally in draw_polygon_segment, everything is converted back to int and guiven to the drawer routine. is this historical? thanks for replying, Victor