I need to create a logo (well, a part of it) as an outline. The relevant part in MetaPost looks:
beginfig(1) path ellipse; ellipse = fullcircle xscaled 5in yscaled 1in; for k = 0 step 45 until 135: fill ellipse rotated k; endfor; for k = 0 step 45 until 135: unfill ellipse scaled 0.8 rotated k; endfor; endfig; end.
With this I got
unfill is just a fill with white.
I would like to get an eps, pdf, or svg with empty area inside. Like this:
Of course, if would be nice if the curves be optimal because otherwise the logo would make some unpleasant surprises while used in texts. The optimal solution is just two path: one consisting of 16 Bézier curves going anticlockwise followed by another internal path consisting of 16 smaller Bézier curves.
Right now I just exported black and white logo to 6000dpi png and used the program
autotrace to get the curves. Is there a more elegant way to do it?