comparison flys-artifacts/ChangeLog @ 1752:b7b424ae32a8

Added /dev/null Graphics2D object to be used in the info rendering pass of the diagram generation. flys-artifacts/trunk@3055 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 21 Oct 2011 13:25:24 +0000
parents 27b8836abec9
children 741ba9e34c7d
comparison
equal deleted inserted replaced
1751:27b8836abec9 1752:b7b424ae32a8
1 2011-10-21 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 To obtain the size of a diagram it is rendered twice. The
4 second time the generated image is omitted so the concrete
5 rendered image is not needed. To save CPU cycles in this pass
6 the image is rendered to to /dev/null Graphics2D object.
7
8 * src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java:
9 Added boolean system property "info.rendering.nop.graphics" (default: false).
10 With this property set the info rendering is done via a new
11 NOPGraphics2D opbject which does not render the image.
12
13 * src/main/java/de/intevation/flys/java2d/NOPGraphics2D.java:
14 New. Implements java.awt.Graphics2D trivial empty methods.
15 This prevents rendering.
16
17 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
18 Commented out spamy debug output
1 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de> 19 2011-10-21 Raimund Renkert <raimund.renkert@intevation.de>
2 20
3 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java: 21 * src/main/java/de/intevation/flys/jfree/StickyAxisAnnotation.java:
4 Draw the text background and use orientation attribute. 22 Draw the text background and use orientation attribute.
5 23
13 Process text attributes correctly. 31 Process text attributes correctly.
14 32
15 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de> 33 2011-10-20 Sascha L. Teichmann <sascha.teichmann@intevation.de>
16 34
17 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java: 35 * src/main/java/de/intevation/flys/artifacts/services/CrossSectionKMService.java:
18 Service to lookup the Nth nearest neighbors for a set of given 36 New. Service to lookup the Nth nearest neighbors for a set of given
19 cross section ids and kms. 37 cross section ids and kms.
20 38
21 * doc/conf/conf.xml: Registered service. 39 * doc/conf/conf.xml: Registered service.
22 40
23 * doc/conf/cache.xml: Cache config. 41 * doc/conf/cache.xml: Cache config.

http://dive4elements.wald.intevation.org