Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watcgl.UUCP Path: utzoo!watmath!watnot!watcgl!kdmoen From: kdmoen@watcgl.UUCP (Doug Moen) Newsgroups: net.micro.mac Subject: Quickdraw benchmarks Message-ID: <1905@watcgl.UUCP> Date: Fri, 24-May-85 18:07:39 EDT Article-I.D.: watcgl.1905 Posted: Fri May 24 18:07:39 1985 Date-Received: Sat, 25-May-85 07:21:27 EDT Reply-To: kdmoen@watcgl.UUCP (Doug Moen) Organization: U of Waterloo, Ontario Lines: 17 I wanted to find out the fastest way to draw horizontal and vertical lines in Quickdraw. Here are some results: I chose to compare 3 methods: - CopyBits from a prepared bitmap containing the line - PaintRect using a long, skinny rectangle - MoveTo, LineTo Vertical line 50 x 1 pixels: CopyBits .250 ticks PaintRect .168 ticks LineTo .079 ticks Horizontal line 1 x 50 pixels CopyBits .084 ticks PaintRect .073 ticks LineTo .069 ticks