generate and drow simple line.