# HG changeset patch # User Raimund Renkert # Date 1323426820 0 # Node ID 6c24ffe946a549ebe66a84eeabd14e730954c47c # Parent 59622ba800c8a2e4d76b2f184bfe301ce2a14966 Issue 413. Apply point size from theme attribute linewidth. flys-artifacts/trunk@3372 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 59622ba800c8 -r 6c24ffe946a5 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Thu Dec 08 13:09:04 2011 +0000 +++ b/flys-artifacts/ChangeLog Fri Dec 09 10:33:40 2011 +0000 @@ -1,3 +1,10 @@ +2011-12-09 Raimund Renkert + + Issue 413. + + * src/main/java/de/intevation/flys/exports/StyledXYSeries.java: + Apply point size from theme attribute linewidth. + 2011-12-08 Felix Wolfsteller * src/main/java/de/intevation/flys/artifacts/model/CrossSectionFactory.java, diff -r 59622ba800c8 -r 6c24ffe946a5 flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java Thu Dec 08 13:09:04 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/StyledXYSeries.java Fri Dec 09 10:33:40 2011 +0000 @@ -87,7 +87,11 @@ protected void applyShowPoints(XYLineAndShapeRenderer r, int idx) { boolean show = ThemeUtil.parseShowPoints(theme); - r.setSeriesShape(idx, new Ellipse2D.Double(-2.0, -2.0, 4.0, 4.0)); + int size = ThemeUtil.parseLineWidth(theme); + r.setSeriesShape(idx, new Ellipse2D.Double(- size, + - size, + 2 * size, + 2 * size)); r.setSeriesShapesVisible(idx, show); r.setDrawOutlines(true); }