Fix DrawLine native to work with offscreen canvases
Add a test that draws lines in an offscreen Graphics
Merge pull request #664 from marco-c/fix_DrawLine

Fix DrawLine native