dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: line algorithm

line algorithm

From: Eric Linenberg <>
Date: Thu, 11 Apr 2002 09:22:57 -0400

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:


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

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy