hello, I found a bug in a repaint-mechanismus from batik: If your DOM contains less than 3 elements (except lines) and you manipulate the position or size of one element than you get massive repaint-errors: On canvas you see any fragments from all elements in wrong locations. After a reset from the current affine transformation the images is correct.
If your canvas contains more than 2 elements than this error donīt occurse. This behavour is stabil also in the current version (HEAD) from CVS repository (xml-batik). Here a svg-code to provoke the error: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg width="450" height="500" viewBox="0 0 450 500"> <rect id="s1" x="10" y="10" height="40" width="50" stroke="black" fill="white" /> <rect id="s2" x="100" y="100" height="20" width="20" stroke="red" fill="none" /> </svg> Jan Lolling T-Systems Systems Integration Entwicklungszentrum Berlin Hausanschrift: Wittestrasse 30H, 13509 Berlin Postanschrift: Postfach 652, 13476 Berlin Tel.: (0 30) 4 35 77-54 44 Fax: (0 30) 4 35 77-53 07 mailto:[EMAIL PROTECTED] Internet: http://www.t-systems.com
repaint_error.png
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]