rearranged some functions
draw rectangle ported
Merge pull request #26 from SimonS/export_more_canvas_operations

Export more canvas operations