Re: [Inkscape-user] question about moving and resizing embedded svg children in an svg document
Sorry about multiple messages, but the svg example got stripped again. Trying now to use plain text message:
<rect x="0" y="0" width="60" height="60" style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/> </svg> </svg>
Matei
----- Original Message ----
From: Matei Stroila <mns3m@...12...>
To: Inkscape User Community inkscape-user@lists.sourceforge.net
Sent: Monday, January 21, 2008 1:26:47 PM
Subject: Re: [Inkscape-user] question about moving and resizing embedded svg children in an svg document
I don't know why several svg lines got removed, here is the svg example that I am trying to edit with Inkscape:
"
<rect x="0" y="0" width="60" height="60" style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/>
</svg>
</svg>"
Matei
----- Original Message ----
From: Matei Stroila <mns3m@...12...>
To: inkscape-user@lists.sourceforge.net
Sent: Monday, January 21, 2008 1:06:56 PM
Subject: [Inkscape-user] question about moving and resizing embedded svg children in an svg document
Hi all,
I would like to use Inkscape to visually edit svg documents that contain other graphics as children svg elements like the following:
<rect x="0" y="0" width="60" height="60" style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/>
</svg>
</svg>
If one clicks on the blue rectangle, the adorning bounding box does not correspond to the correct bounding box. So it is very difficult to resize or reposition these embedded svg elements.
If there is no direct solution for this problem, then, given an svg file with paths and transforms, are there any API tools that allow computing the actual coordinates and remove the transforms so that the svg file has no longer transforms? Sort of like what a rendering engine does, but I would like to keep the svg format.
Thanks for help.
Matei
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Hi,
I still can't see the code you are trying to post. As far as I know Inkscape currently rasterizes linked SVGs before placing them, which might explain the trouble you are having. There is a bug report requesting better support for linked SVGs at https://bugs.launchpad.net/inkscape/+bug/171795 . Maybe you'd like to attach your sample document to that bug, then ask again for help on the list...
-Tom
On Jan 21, 2008 11:46 AM, Matei Stroila <mns3m@...12...> wrote:
Sorry about multiple messages, but the svg example got stripped again. Trying now to use plain text message:
<rect x="0" y="0" width="60" height="60"
style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/>
</svg> </svg>
Matei
----- Original Message ----
From: Matei Stroila <mns3m@...12...>
To: Inkscape User Community inkscape-user@lists.sourceforge.net
Sent: Monday, January 21, 2008 1:26:47 PM
Subject: Re: [Inkscape-user] question about moving and resizing embedded svg children in an svg document
I don't know why several svg lines got removed, here is the svg example that I am trying to edit with Inkscape:
"
<rect x="0" y="0" width="60" height="60"
style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/>
</svg>
</svg>"
Matei
----- Original Message ----
From: Matei Stroila <mns3m@...12...>
To: inkscape-user@lists.sourceforge.net
Sent: Monday, January 21, 2008 1:06:56 PM
Subject: [Inkscape-user] question about moving and resizing embedded svg children in an svg document
Hi all,
I would like to use Inkscape to visually edit svg documents that contain other graphics as children svg elements like the following:
<rect x="0" y="0" width="60" height="60"
style="fill:rgb(0,0,255);stroke-width:1 stroke:rgb(0,0,0)"/>
</svg>
</svg>
If one clicks on the blue rectangle, the adorning bounding box does not correspond to the correct bounding box. So it is very difficult to resize or reposition these embedded svg elements.
If there is no direct solution for this problem, then, given an svg file with paths and transforms, are there any API tools that allow computing the actual coordinates and remove the transforms so that the svg file has no longer transforms? Sort of like what a rendering engine does, but I would like to keep the svg format.
Thanks for help.
Matei
Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.
Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-user mailing list Inkscape-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-user
participants (2)
-
Matei Stroila
-
Tom Davidson