ENH: add option shape to functions in draw

Hi,

This PR follows a bug I tackled for 0.10. Here, I add an option shape for perimeter-like functions in draw.py. Filled shapes have the same option, same behavior. 
So, why don't you reuse the function and instead create a duplicate of it here?