Login | Register
My pages Projects Community openCollabNet

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

gef
Discussion topic

Back to topic list

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

Reply

Author bobtarling
Full name Bob Tarling
Date 2009-10-02 08:42:57 PDT
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=252






------- Additional comments from bobtarling at tigris dot org Fri Oct 2 08:42:55 -0700 2009 -------
Michiel said:
> Line widths are included in the size of the Fig.

This seems like the easiest solution for the bounds of one of our top level Figs
but there are likely to be complexities for child Figs.

Imagine a Fig like a class box that a developer is trying to create and that
instead of the argo solution the are using 3 FigRects on top of each other.

with a width of 2 then we will get a border of 2 all the way around the outside
but where the borders of the boxes touch we will get a wider band.

By making the co-ordinate points to be the centre of a wide line then of two 1
pixel lines overlap then two 2 pixel lines should also overlap.

I think its worth considering that if that is how Graphics2D works also.

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

Messages

Show all messages in topic

[gef-issues] [Issue 252] Convert SVGWriter to extend Graphics2D bobtarling Bob Tarling 2009-10-02 08:42:57 PDT
Messages per page: