Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!julius.cs.uiuc.edu!zaphod.mps.ohio-state.edu!ub!uhura.cc.rochester.edu!rochester!pt.cs.cmu.edu!OREO.GRAPHICS.CS.CMU.EDU!gleicher From: gleicher@CS.CMU.EDU (Michael Gleicher) Newsgroups: comp.sys.sgi Subject: Right way to draw simple things Message-ID: Date: 13 Nov 90 18:04:14 GMT Sender: gleicher@OREO.GRAPHICS.CS.CMU.EDU Distribution: comp Organization: School of Computer Science, Carnegie Mellon University Lines: 15 I'd like to know what the correct (and fastest) ways to draw some simple things are. I've been told to avoid relative drawing, rectf, ... So what SHOULD I do to do the following (2d) things FAST. 1) draw a line segment (instead of move2/draw2) eg: line(float,float,float,float) 2) draw a small dot, (say 3x3 pixels - but the exact size isn't important - it just needs to be small, yet big enough to be seen) - for now I use rectf with a small size Thanks, Mike