On Sun, 24 Aug 2008, Robin Rattay wrote:

> However there is one bug: the stroke thickness isn't drawn anymore.

Fixed.

> BTW, you can get the real size of the string with
>
> g.getFontMetrics().stringWidth(...) and g.getFontMetrics().getHeight()
>
> (if performance allows it). IMHO that's better than guesstimating using
> segmentNumberSpace.

That's not the string size. Only the minimum size of the way length. This 
is not equal to string size, but probably a size test can be included as 
well.

> And while your at it, there's another irritating "feature": Selected
> areas are filled solid blue, thus overpainting anything inside. Could

Red for me :-)

I fixed that as well. Now areas are always drawn with Alpha channel. And 
also area borders are always drawn. Code is easier and it seems to be 
more logical.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)

_______________________________________________
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to