Added general case that calculate Bezier curve control points
Points scaled to fit into drawing rectangle