And while at it, I also added a Replace effect for text which allows you to replace one string by another, globally or in selected text objects.
On 7/10/07, bulia byak <buliabyak@...155...> wrote:
On 7/10/07, Maarten van der Velde <Maarten.van-der-Velde@...2171...> wrote:
- can substitute all ocurances of 1 color for 1 predifinded other
color. (so, for example, I could tell it to substitue all #000000 -> #FF0000, #FF0000 -> #FFFFFF and #FFFF00 -> #0000FF, hence turning the German flag into the Dutch)
With our coloreffect.py extension class, it's very easy to implement. I just did it.
* A new effect, Replace color in the Color submenu, simply
replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
- can either systematiccally cycle/iterate through the specified
colors, or assing them randomly, creating a series of output SVG files, all with different color-schemes.
Anyone can easily do this using the same extension base class, patches are welcome :)
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org