kdmoen@watcgl.UUCP (Doug Moen) (05/25/85)
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