TestLines

This program is intended as a test of line-drawing speed. It draws a specified number of lines each update. It tries to do 60 updates per second.

It displays the average update rate as "fps" (frames per second). It also displays the average number of lines it could draw per second if it weren't doing anything else. This number is calculated as the number of lines drawn divided by the number of seconds taken by the drawing routine.

This project illustrates several aspects of programming for Mac OS X using the Cocoa API:

This is free software - it is licensed under the GPL. You can get the project files via my "Mac OS X Programming" page
Last modified: Feb 28, 2006
Cameron Hayne (macdev@hayne.net)