Oh my god, this is so helpful, I've accidentally clicked it before, but I never knew that it did this.
"So that's the bezier tool. Ah. I've only ever used it by accident and never could figure out how. Well now I know.
@Joey, if you want to use it again, it's located at the side of the screen, looks like a pen.