night-ghost / arduino-tvout

Automatically exported from code.google.com/p/arduino-tvout
1 stars 0 forks source link

Improvement: speed up draw_line() for a special case. #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
draw_rect and draw_circle both rely heavily on draw line now when filling.  
However these instances are only ever with horizonal lines; and so a special 
case will be added that will edit pixels by the byte vs one at a time.

Original issue reported on code.google.com by mdmetzle@gmail.com on 2 Nov 2010 at 2:39

GoogleCodeExporter commented 9 years ago

Original comment by mdmetzle@gmail.com on 2 Nov 2010 at 2:39

GoogleCodeExporter commented 9 years ago
Implemented as fill_line(line,x0,x1,color)

Original comment by mdmetzle@gmail.com on 4 Nov 2010 at 1:43