Open GoogleCodeExporter opened 8 years ago
Issue 1: Thought, that I have fixed this by given +5 extra each for height and
width in svg tag
Issue 2: For nested shapes the position should be also fixed
I tracked this is in issue #181
But I will have look at it again if its really fixed.
Original comment by de.abg.r...@gmail.com
on 15 Oct 2012 at 3:17
Ok, I found the mistakes:
* Issue 1 is related only to polygons, the width and height is now calculated correctly
* Issue 2: shapes uses some default offset, so that they do not start in (0,0), when using those shapes as nested shapes this default offset is now not applied anymore
Original comment by de.abg.r...@gmail.com
on 16 Oct 2012 at 6:19
Right, the shapes used to be a hierarchy of graphics algorithms, but has been
changed to a hierarchy of of container shapes. Each subshape has coordinates
relative to the parent shape. However, when there is an active cotainershape
inside a non active containershape, Graphiti does not use the relative
coordinates. For generating the shapes in the editor, I have a "fix" operation
that fixes these coordinates. the same should be applied to the SVG generator.
Original comment by joswar...@gmail.com
on 16 Oct 2012 at 7:12
* fixed position calculation (absolute and container relative works now)
* added style interpretation (currently only directly annotated style
information)
* added connection decoration interpretation
* still missing:
* font attribute interpretation
* interpretation of text align
* interpretation of placing's radius and angle,
* referenced style interpretation
* gradients interpretation
* color interpretation based on numbers
Original comment by de.abg.r...@gmail.com
on 18 Nov 2012 at 3:23
Original issue reported on code.google.com by
fabio.filippelli
on 14 Oct 2012 at 9:39Attachments: