
Hi,
I don't know if I understood your answer to my 2nd question right. But when moving an object in Inkscape this move is nothing I want to store into the objects properties at least I want to place the circle to a special position. The problem is if I use the SVG graphic in my application I want to move the circle from left to right from the position where I have placed the circle in Inkscape. But what happens is that the circle first is moved to the very first position where I have placed the circle in Inkscape and then moved from that position.
In Inkscape
1) place the circle to position 50,50
2) move the circle to position 100, 100 (this move is stored in the transform translate (why???) )
3) save
In my application
1) The circle is placed to position 100,100
2) my appliction is moving the circle from left to right and the following steps happens a) the circle is placed back to position 50,50 b) the circle is moved from left to right
To avoid this I have manually to remove the transform translate attribute in Inkscape and set the cx, cy attributes to the position I want to place the circle.
To keep it short and simple. I want to have the same behaivor for placing a circle like for rectangles !
__________________ Jens Rottgardt Buildmanagement ITP Fahrzeugherstellung, K-SIB 2
Postadresse: Volkswagen AG Brieffach 1839 38436 Wolfsburg
Besucheradresse: Volkswagen AG Hermann-Münch-Straße 1 (MobileLife Campus) 38442 Wolfsburg
Telefon +49 -5361-896-3276
Telefax +49 (0) 5361-896-3296 mailto:jens.rottgardt@...2472... http://www.volkswagen.de
VOLKSWAGEN AG Sitz/Domicile: Wolfsburg Registergericht/Court of Registry: Amtsgericht Braunschweig HRB Nr./. Commercial Register No.: 100484 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Ferdinand Piëch Vorstand/Board of Management: Martin Winterkorn (Vorsitzender/Chairman), Francisco J. Garcia Sanz, Jochem Heizmann, Horst Neumann, Hans Dieter Pötsch
Wichtiger Hinweis: Die vorgenannten Angaben werden jeder E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse auf den Rechtscharakter der E-Mail zu. Important Notice: The above information is automatically added to this e-mail. This addition does not constitute a representation that the content of this e-mail is legally relevant and/or is intended to be legally binding upon VOLKSWAGEN AG.
-----Ursprüngliche Nachricht----- Von: inkscape-user-bounces@lists.sourceforge.net [mailto:inkscape-user-bounces@lists.sourceforge.net] Im Auftrag von bulia byak Gesendet: Mittwoch, 2. April 2008 20:33 An: Inkscape User Community Betreff: Re: [Inkscape-user] translate Attribute stored in SVG Graphic
On Wed, Apr 2, 2008 at 7:39 AM, Rottgardt, Jens (K-SIB-2/3) <jens.rottgardt@...2472...> wrote:
- Why does Inkscape uses the path tag for circles instead of the existing
circle tag?
Because otherwise you wouldn't be able to put markers on it, or use text on path with it, or use live path effects.
- When painting a circle in Inkscape and moving it the move is stored in
the transform translate tag. Can anyone tell me why ?
Because you cannot, in general, embed an arbitrary transform into the circle's parameters (center and radii). Actually a move only could be embedded into cx/cy, but since other transforms cannot, we didn't special-case translation (although this is possible, and is done e.g. for rectangles - so if you desperately need that, you can submit a patch).