draw lines with bitmaps