Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
1035:9f69a5f0af98 | 1036:e6aff80b59ff |
---|---|
1 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | |
2 | |
3 Implemented proof-of-concept collision-detection when drawing | |
4 CustomAnnotations (text only). | |
5 | |
6 * src/main/java/de/intevation/flys/exports/ChartExportHelper.java: | |
7 Pass a fresh ChartRenderingInfo-Object to createBufferedImage, such that | |
8 information can be collected while rendering. | |
9 | |
10 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | |
11 Exploit the fact that XYTextAnnotation already registers drawn shape in the | |
12 ChartRenderingInfo if it exists and either an URL or tooltip is set. | |
13 Before drawing, calculate own shape and compare against already registered | |
14 shapes. | |
15 | |
1 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> | 16 2011-08-16 Felix Wolfsteller <felix.wolfsteller@intevation.de> |
2 | 17 |
3 Implemented (yet dummy) custom Annotation class. | 18 Implemented (yet dummy) custom Annotation class. |
4 | 19 |
5 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: | 20 * src/main/java/de/intevation/flys/exports/LongitudinalSectionGenerator.java: |