
On 4/16/06, @ntoine <antoine_marin@...166...> wrote:
Hy everybody, i was looking for a function that could help me go faster duplicating and aligning objects in the same time. I thaught the "Tile Clones" was the one, but i don't manage to do what i want. Here is joined an example(question_about_clones.jpg) : i would like to clone the arc from the center in one function. I've still looked here : http://tavmjong.free.fr/INKSCAPE/MANUAL/html/ch12.html If anybody have understood my question and have the answer too ! please
SVG is the SML markup language that InkScape uses to encode images. It has methods for both tiling (pattern fills) and cloning objects. (<use>) I don't think that InkScape has addressed these issues in the UI yet, I could be wrong, heh there's so much there I don't know about. But you can edit the markup using the XML editor. This requires quite a bit of low level SVG knowlege to accomplish, but there are tutorials on the internet that can help you. (google SVG tutorial)
Both tiling, and what you call cloning are accomplished by referencing objects that are generally defined in a <defs> section, although they can be defined anywhere.
Here are the spec links if you are feeling adventurous:
http://www.w3.org/TR/SVG/struct.html#UseElement http://www.w3.org/TR/SVG/pservers.html#Patterns
To create what you call a clone you would reference an element or group of elements via its 'id' lement and perform a transformation to insert it into the image int the location, rotation, etc that you wish with a <use> element.
Patterns are similar in that they are defined by an element or group of elements to form a pattern fill that you can use to fill an object like a path or a rectangle.
I half expect someone to say "No wait! InkScape does that!" Heh, so stay tuned.
If it doesn't, it probably will soon.
reply me back. Thanks in advance ! Inkscape is a such good soft !
Yudeo
-- Cheers! Rick