deweese 2003/03/19 16:18:35 Added: samples/tests/spec/scripting boundsTransformChange.svg Log: 1) Fixed a rendering bug involving transform changes on groups with preceeding bounds changes on children. Revision Changes Path 1.1 xml-batik/samples/tests/spec/scripting/boundsTransformChange.svg Index: boundsTransformChange.svg =================================================================== <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN" "http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd"> <!-- ====================================================================== --> <!-- Copyright (C) The Apache Software Foundation. All rights reserved. --> <!-- --> <!-- This software is published under the terms of the Apache Software --> <!-- License version 1.1, a copy of which has been included with this --> <!-- distribution in the LICENSE file. --> <!-- ====================================================================== --> <!-- ====================================================================== --> <!-- Modification of a circle attributes --> <!-- --> <!-- @author [EMAIL PROTECTED] --> <!-- @version $Id: boundsTransformChange.svg,v 1.1 2003/03/20 00:18:35 deweese Exp $ --> <!-- ====================================================================== --> <?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?> <svg id="body" width="450" height="500" viewBox="0 0 450 500" onload="updateGroup1()"> <title>Testing Update engine when bounds and transform change.</title> <desc>This tests changing the bounds of an object then changing a a parent's transform to ensure the dirty regions are properly computed.</desc> <script type="text/ecmascript"> var time1 = 90; function updateGroup1() { var elt = document.getElementById("g1"); var fs = Math.cos(time1*2*3.1415926/180)*12+24; elt.setAttribute("font-size",fs); var x = Math.cos(time1*3.1415926/180)*100 + 225; var y = Math.sin(.5*(time1+90)*3.1415926/180)*150 + 250; elt.setAttribute("transform", "translate("+x+","+y+")"); time1 += 20; setTimeout('updateGroup1()', 100); } </script> <g id="test-content"> <g id="g1"> <text text-anchor="middle">Squash the Bug</text> </g> </g> </svg>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]