kahunamoore / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
0 stars 1 forks source link

Resizing of <g> with <use> causes problems #508

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Paste the following SVG document into the source editor:
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:se="http://svg-edit.googlecode.com">
 <!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
 <defs>
  <g id="ungroupable-object">
   <rect stroke="#000000" fill="none" height="45" width="70"/>
   <text xml:space="preserve" text-anchor="middle" font-family="serif"
font-size="24" stroke-width="0" stroke="#000000" fill="#000000">sample</text>
  </g>
 </defs>
 <g>
  <title>Calque 1</title>
  <g>
   <use xlink:href="#ungroupable-object" x="95.06078" y="178" id="svg_2"
fill="black"/>
  </g>
 </g>
</svg>

2. Select and resize the object
3. De-select and re-select

What is the expected output? What do you see instead?
The bounding box should surround the resized objects.
Instead, the bounding box is sized as if the object had not been resized.

Original issue reported on code.google.com by codedr...@gmail.com on 10 Mar 2010 at 6:39

GoogleCodeExporter commented 9 years ago
Fixed in r1800.

Original comment by adeve...@gmail.com on 13 Oct 2010 at 7:37