Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!yale!cs.yale.edu!tarr-michael From: tarr-michael@CS.YALE.EDU (michael tarr) Newsgroups: comp.sys.mac.programmer Subject: CopyBits versus EraseRect() Message-ID: <27452@cs.yale.edu> Date: 29 Nov 90 00:47:16 GMT Sender: news@cs.yale.edu Organization: Department of Psychology, Yale University Lines: 18 Nntp-Posting-Host: algeria.ai.cs.yale.edu I wish to erase a rect on the screen to the background color. There are two obvious ways: 1. EraseRect 2. CopyBits a rect of the same background. Which is faster (my intuition is copybits -- eraserect appears very slow on my system). Thanks, mike tarr -- * Mike Tarr The Human Neuron Project * * tarr@cs.yale.edu Department of Psychology * * "My opinions are always my own." Yale University * **************************************************************************