convert ellipse, spline to painter path