xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonny Kohar <to...@kiyut.com>
Subject Re: Multiple Group Elements Selection and Moving
Date Tue, 20 Jun 2006 03:47:55 GMT

On Sun, 2006-06-18 at 23:24 -0700, Sudhakar S wrote:
> Hi Thomas,
> As per your suggestion i have changed the code. but still i haven't able to
> resolve the problem. I think there is some problem in finding start points.
> If i find the start position in mouse down action, it works for single group
> elements move. but multiple elements it is not working.
> SVGPoint startPt = localPt((Element)selElement.getParentNode(),
> elEvt.getClientX(), elEvt.getClientY()); 

To check whether the insertion of transform attribute is correct, you
could use serializer which could serialize the DOM into xml file.
eg: org.apache.batik.dom.utilBatikUtilities.writeDocument(Document doc,
Writer w), before and after the move to compare

Tonny Kohar
SVG Graphics Editor

To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org

View raw message