Lets say i have text (converted to paths and ungrouped) or 5 rectangles in a row.
How do apply the same gradient at an angle of, say, 45° to all objects at once ?
Also how do i change the gradient so that its applied to all the other objects with the same gradient ?
So far i tried the following:
1.) select all objects, set the gradient angle in the Preferences at 45°.
Result: the gradient is somewhat centered in the middle. If i change the handles of one gradient, the others stay the same.
2.) copy the object with the positioned gradient and paste the style on the others obejcts.
Result: the gradient seems applied in a way, as if the other objects are a mask.
Applying the same gradient to several objects at once
Re: Applying the same gradient to several objects at once
Hi.
I'd try rotating the objects first -45°, then add the gradient, and rotate them back 45° to finish.
Gradients are heavily related to transformations, so ungrouping the objects may also be necessary.
There is an option in the gradient editor tool since 0.91 wether to link all gradients to one's edit or not.
In 0.48 you just had to edit the gradient definition with the since removed gradient editor dialog instead of using the node tool.
I'd try rotating the objects first -45°, then add the gradient, and rotate them back 45° to finish.
Gradients are heavily related to transformations, so ungrouping the objects may also be necessary.
There is an option in the gradient editor tool since 0.91 wether to link all gradients to one's edit or not.
In 0.48 you just had to edit the gradient definition with the since removed gradient editor dialog instead of using the node tool.
Re: Applying the same gradient to several objects at once
That rotating trick works, but i have to set the gradient-angle at 90°in the Preferences.
It feels a little odd, though
Unchecked the "Prevent sharing of gradient definitions". That still doesnt apply changes in direction to all the gradients.
It feels a little odd, though

Unchecked the "Prevent sharing of gradient definitions". That still doesnt apply changes in direction to all the gradients.
Re: Applying the same gradient to several objects at once

With default settings.
Re: Applying the same gradient to several objects at once
Lazur wrote:There is an option in the gradient editor tool since 0.91 wether to link all gradients to one's edit or not.
Are we talking here about the little lock next to the gradient in the toolbar, or about the checkbox inside the Preferences Editor ?
Are these two the same thing ?
Also when i change the direction of the gradient, the other gradients stay the same. They dont move. I have to apply changes individually.
Only the colors change in unison.
Re: Applying the same gradient to several objects at once
The padlock and the preference's option should be the same.
Other than that, there is no built in way to edit each gradient's handle's direction at once.
Gradients are stored in the defs and linked to each fill where with each object they get a separate transformation.
Editing the defs is doable.
For, like rotating the direction, you need to do some tricks like the mentioned transforming of the objects.
Or use those objects to clip/mask clones of the object you want the fill to be parent.
Other than that, there is no built in way to edit each gradient's handle's direction at once.
Gradients are stored in the defs and linked to each fill where with each object they get a separate transformation.
Editing the defs is doable.
For, like rotating the direction, you need to do some tricks like the mentioned transforming of the objects.
Or use those objects to clip/mask clones of the object you want the fill to be parent.