Hi:
I'm trying to use paper.js to draw on top of an already drawn canvas.
my problem is (no matter what) when I add any shape the paper.js view is fulfilled on black occluding the previously drawn image.
It's quite impossible to paste real code so I'll try pseudo:
+ there's a canvas tag id "myCanvas"
+ paper.setup(canvas);
+ paper.view.autoUpdate = false;
+ another library renders a raster image on "myCanvas"
+ paper.js -> new paper.Path.circle(blabla);
+ paper.view.update()
the image does not appears.
I'm pretty sure paper.js is filling with black because paper.view is smaller than the whole canvas. so I can actually see portions of the background image around.
I'm working with cornerstone.js a library for medical imaging.
make sense?
any though will be kindly appreciated.
thanks !
dx