Right way to draw simple things

Michael Gleicher gleicher at CS.CMU.EDU
Wed Nov 14 05:04:14 AEST 1990


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



More information about the Comp.sys.sgi mailing list