Hello! I have a problem with applying transforms to shapes. I want to scale a polygon shape and I have to know about former transforms. The SVG-Tag looks like this:
<polygon points="100,100 200,100 200,200 100,200" stroke="black" fill="none" transform=" translate(100,100) scale(2) translate(-100,-100) translate(50,50)"/> <polygon points="100,100 200,100 200,200 100,200" stroke="black" fill="none" transform=" translate(100,100) scale(2) "/> When the SVG file is loaded and rendered first time following happens: In the first case the method canvas.getBridgeContext().getGraphicsNode(element).getGlobalTransform().getTranslateX() returns 0, that is incorrect (in my opinion) In the second case it returns the correct value 100. Any ideas how to work around this problem? I really need the correct transform to do correct scaling. Thanks Uwe --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
