pass options object to draw function
allow margin property of 0
Merge pull request #20 from jvanaert/master

pass options object to draw function