[solved] Cropping ellipse reflections to a path's shape

Post questions on how to use or achieve an effect in Inkscape.
User avatar
Yata
Posts: 8
Joined: Thu Mar 13, 2008 12:56 pm
Contact:

[solved] Cropping ellipse reflections to a path's shape

Postby Yata » Sun Jun 15, 2008 4:17 am

Hello,

I have a rather simple yet irritating problem. I want to have the common "semi-transparent ellipse reflection" on a path I created. The first thing that comes to mind is to just draw a white ellipse over the path and lover it's alpha. It works, but then I have nasty left over ellipse outside of my path. Here's a really straightforward example:

Image

You see, I want the effect the ellipse has whilst laying over the black of my path, but you can still see the extra white that does not cover the path. I want this reflection ellipse to only cover the path and nothing outside of it. This is simple to do in raster design, but I want what I'm doing strictly vector.

So, in basic terms, how do I clip an object/path to an object path so it's almost a fill for it?

Thank you.

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Cropping ellipse reflections to a path's shape

Postby sas » Sun Jun 15, 2008 4:37 am

Make sure you're using the Selector tool :tool_selector:. Select the path, and duplicate it (Ctrl+D). Shift+click on the ellipse. (Now the duplicate and the ellipse should both be selected.) Clip the ellipse to the duplicate (Object -> Clip -> Set).

User avatar
Yata
Posts: 8
Joined: Thu Mar 13, 2008 12:56 pm
Contact:

Re: Cropping ellipse reflections to a path's shape

Postby Yata » Sun Jun 15, 2008 4:58 am

Fantastic, thank you :)


Return to “Help with using Inkscape”