No need to pass event to finishDrawing_
Add finishDrawing to API

This makes it posssible to programmatically finish drawing.
Merge pull request #2927 from elemoine/finishdrawing

Make it possible to programmatically finish drawing