Change PaintView to implement smooth line