When Paste Style the gradient does not move relative

Post questions on how to use or achieve an effect in Inkscape.
turquoise
Posts: 20
Joined: Mon Feb 04, 2008 6:48 am

When Paste Style the gradient does not move relative

Postby turquoise » Thu Mar 26, 2009 11:17 pm

hi,
How can a gradient be copied / pasted from one object to another but have the new gradient's location be relative to the new object? For example if a rectangle is created and a gradient assigned to it then a second rectangle is created. Select first rectangle, Ctrl-C is used to copy the first rectangle, select second rectangle, Paste Style is used to paste the gradient. The gradient for the second rectangle is in the exact same place as the first rectangle but this does not result in what is wanted which is to have a second gradient to have the same relative position to the second rectangle as the first gradient has to the first rectangle. Moving one gradient is fine but how can I assign the same gradient by relative position to many rectangles?

I'm using both 0.46 and 0.47 (beta).

Thanks.

jude
Posts: 37
Joined: Thu Jun 05, 2008 1:08 am

Re: When Paste Style the gradient does not move relative

Postby jude » Fri Mar 27, 2009 3:14 am

If I understand what you want to do then this might be what you're looking for.

Create your 2 objects, select both of them and then group them (ctrl + g) and then apply the gradient. They now share a single gradient.

turquoise
Posts: 20
Joined: Mon Feb 04, 2008 6:48 am

Multiple gradients

Postby turquoise » Fri Mar 27, 2009 4:11 am

hi,
Thanks for your suggestion but sorry but I did not explain the situation well. Each rectangle should have the full gradient. What I want would be similar to the button "move gradients along with objects" but with paste style a copy of the new gradient is placed with the object.

User avatar
microUgly
Site Admin
Posts: 2985
Joined: Sat Jun 02, 2007 3:13 pm
Contact:

Re: When Paste Style the gradient does not move relative

Postby microUgly » Tue Apr 21, 2009 6:54 pm

I don't know that you can do what you want. It makes sense though. I know I've been caught myself. Perhaps you could log a feature request for it.

Practically speaking, I don't think Inkscape could apply the gradient in the exact position you would want unless the shape was the exact same size. But it should at least be able to apply it in a area that you can see (i.e. middle of the shape boundry).


Return to “Help with using Inkscape”