Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: line algorithm
From: Eric Linenberg (elinenbe_at_umich.edu)
Date: 2002-04-11


I spent a good amount of time a few years ago doing a line drawing
algorithm for a device like this, and then realized that the Bresenham
algorithm is already well optimized and documented. Here is something
that I have (for the ti-85 calc in z80 assembly, and one for the ti-92
in 68000 asm) but could give you a good start.

see more information on lines here:
http://www.cs.unc.edu/~mcmillan/comp136/Lecture6/Lines.html

-eric

DS> Now, does anyone sit on a neat and fast line-drawing function? ;-)






Page was last modified "Jan 10 2012" The Rockbox Crew
aaa