Alice Cavallo wrote:

I created one class that extends JSVGCanvas in order to trace an SVG
image displayed on the canvas.

I have created my own PaintComponent and other paint methods. It is
not working.

What's not working, your method isn't called, you don't see your drawing, it doesn't compile?

The LoadSVGCanvas that I wrote is doing nothing at the
movement of the mouse.

Why are you loading the canvas on mouse move?

Basically I replicated what I had implemented
for a regular class that extends JPanel.

My first guess would be you are drawing before the SVG content is drawn rather than after.

Am I using the wrong class? Is there any other JSVG* class that should
be used for the purpose of loading an image and also drawing on top of it?

No I think you are using the correct class, but I suspect that you are not overriding the methods properly.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to