Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [gef-issues] [Issue 252] Convert SVGWriter to extend Graphics2D

Discussion topic

2020-04-07: This site is going to be decommissioned and shut down on 2020-07-01. Please copy and archive any data you wish to keep before that date.

Back to topic list

[gef-issues] [Issue 252] Convert SVGWriter to extend Graphics2D


Author tfmorris
Full name Tom Morris
Date 2009-03-19 14:46:39 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=252

------- Additional comments from tfmorris at tigris dot org Thu Mar 19 14:46:39 -0700 2009 -------
I've committed the work that I did a couple of months ago on SvgWriter2D. It's just a
first pass, but it does render in Firefox and Chrome and it should provide a useful starting
point for someone to play with if they're interested.

I made a bunch of modifications to the various figs, but they're in an half finished state,
so I'll make a patch with them all and put it someplace. I don't think the SVG writer
depends on them, strictly speaking, but it won't produce "pretty" results if the Figs
are being drawn with the old Graphics code.

There's a fairly fundamental issue that needs a design decision. The drawing models for
Graphics and Graphics2D are very different and someone needs to figure out what GEF coordinates
mean and how to map them to Graphics2D coordinates. In particular, for wide lines, are
line widths included or excluded, in the size of the fig. I'm not sure what the current
GEF/ArgoUML assumptions are or how consistently they are implemented.

« Previous message in topic | 1 of 1 | Next message in topic »


Show all messages in topic

[gef-issues] [Issue 252] Convert SVGWriter to extend Graphics2D tfmorris Tom Morris 2009-03-19 14:46:39 PDT
Messages per page: