scanconversion - scan convert line segments