well, i add a Bresenham Class for drawing a line
1.finish the Bresenham algorithm, 2.realize the draw lines and draw polygon function with the Bresenham, 3.abstract the draw point function