Limit the image to the drawing area

Post questions on how to use or achieve an effect in Inkscape.
jeypeyy

Limit the image to the drawing area

Postby jeypeyy » Sun Nov 29, 2009 10:31 am

I'm trying to do a wallpaper, but I've found it easier to not only work "within the borders". For example, I'm doing a sunshine by using a big circle with different gradients. This sunshine is going outside the drawing borders and I want everything outside the drawing area to be transparent.

Is there another way to do this than by creating rectangles and using the "difference"-tool? I beleive that's an ugly way to solve this.

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Limit the image to the drawing area

Postby druban » Sun Nov 29, 2009 2:40 pm

jeypeyy wrote: I want everything outside the drawing area to be transparent.

Is there another way to do this than by creating rectangles and using the "difference"-tool?


Use the same rectangle , but bring it to the top, group it w/ everything that you want trimmed, and then do a clip -> set with the group selected. There's no damage to the clipped elements and you can go back and release the clip and move things around and reclip it. In IS.47 you can even edit the clipping shape without releasing duping and doing other complicated stuff like you had to do in IS.46.

Another method is to size your page to the dimensions of your desired format. When you export it everything outside the page border is left behind but intact.

One of these methods should work for you. 8-)
Your mind is what you think it is.

jeypeyy

Re: Limit the image to the drawing area

Postby jeypeyy » Sun Nov 29, 2009 8:23 pm

druban wrote:Use the same rectangle , but bring it to the top, group it w/ everything that you want trimmed, and then do a clip -> set with the group selected. There's no damage to the clipped elements and you can go back and release the clip and move things around and reclip it. In IS.47 you can even edit the clipping shape without releasing duping and doing other complicated stuff like you had to do in IS.46.

Thank you, that worked. I used the "snap to page borders"-function to make a rectangle that fit the whole page.

druban wrote:Another method is to size your page to the dimensions of your desired format. When you export it everything outside the page border is left behind but intact.

The page size where already set, I just wanted to remove everything outside those dimensions. I still want it to be svg, so I don't want to export it.

Thank you anyway, and sorry for my bad english.


Return to “Help with using Inkscape”