Mercurial > dive4elements > river
diff flys-artifacts/ChangeLog @ 1036:e6aff80b59ff
Added proof-of-concept collision detection for text annotations.
flys-artifacts/trunk@2497 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 17 Aug 2011 09:16:20 +0000 |
parents | 9f69a5f0af98 |
children | 75cf1b11c97e |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Tue Aug 16 13:24:50 2011 +0000 +++ b/flys-artifacts/ChangeLog Wed Aug 17 09:16:20 2011 +0000 @@ -1,3 +1,18 @@ +2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> + + Implemented proof-of-concept collision-detection when drawing + CustomAnnotations (text only). + + * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: + Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that + information can be collected while rendering. + + * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: + Exploit the fact that XYTextAnnotation already registers drawn shape in the + ChartRenderingInfo if it exists and either an URL or tooltip is set. + Before drawing, calculate own shape and compare against already registered + shapes. + 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> Implemented (yet dummy) custom Annotation class.