[xep-support] SVG, clipPath and image

From: Geoff Levner <geoff@n-generate.com>
Date: Sun May 01 2005 - 06:50:49 PDT

I am using SVG to clip an image to an arbitrary shape, using SVG's
clipPath element.

As it happens, my clipPath shape and my JPEG image are not in the same
coordinate systems; the image is smaller than the shape, and I would
like to be able to move the image relative to the shape. So I thought
I would just put the image in a group, and apply the clipPath to the
group.

To my surprise, though, if I put my image inside a <g> element, it
disappears! With or without a clipPath.

Is this a bug, or am I doing something stupid?

Thanks,
Geoff

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
Received on Sun May 1 12:28:24 2005

This archive was generated by hypermail 2.1.8 : Sun May 01 2005 - 12:28:24 PDT