Implement bezier drawing