ink2canvas: fix closed paths and opacity
Closes #332 (closed)
The existing unit test had incorrect output:
- the closed paths were not closed,
- the opacity was 0.5 for all objects and not just the
SliceRect
.
Both issues have been fixed in the merge request.
The test coverage could still be improved.