Drawing Bezier curves