TestLines

TestLines - Free and open source application intended as a test of line-drawing speed
Download

TestLines Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Cameron Hayne
  • Publisher web site:
  • http://hayne.net/MacDev/Perl/zero_separated
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 47 KB

TestLines Tags


TestLines Description

TestLines - Free and open source application intended as a test of line-drawing speed TestLines is a free and open source application 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.TestLines displays the average update rate as "fps" (frames per second) and also 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:· separate Model, View, and Controller classes· use of bindings· drawing lines via BezierPath in an NSView subclass· use of applicationShouldTerminateAfterLastWindowClosed· use of NSTimer (to get regular updates)


TestLines Related Software