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: Mouse drag not working smoothly for Rectangle
Date Wed, 12 Apr 2006 01:52:05 GMT

On Tue, 2006-04-11 at 04:29 +0000, Selva wrote:
> Hi All,
> I am trying to drag the Rectangle in SVGCanvas. If I do it slowly, it is 
> working smoothly. But in case of faster dragging, it is not moving properly. I 
> have also referred http://wiki.apache.org/xmlgraphics-batik/DragTutorial for 
> mouse dragging. But it is not working. I have attached my sample code for your 
> reference.

For performance reason, you may be want to update the svg element only
at the end of dragging, so svg only updated only one time. And you could
draw outline / rect during dragging / moving operation.

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