modify comment for drawing lines
optimizate bresenham line
update tbox
fix half-bresenham algorithm for drawing line