Raphael JS fill SVG with image -> scaling?

410 Views Asked by At

I have a path filled with an image path.attr({'fill': 'url(https://alastaira.files.wordpress.com/2013/11/image13.png)'}) to simulate a background with hatching. When I zoom the path (via a Raphael js zooming plugin), of course the image scales too and gets blurry.

  1. Is it possible to use a .svg image as background? If yes, how can I scale it?
  2. Is it possible to disable the scaling of the background image? So when I zoom, the background image doesn't zoom, too?
0

There are 0 best solutions below