Add bezier drawing function