line clipping corrected, vect linedraw added