xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selva <selvakumar_...@yahoo.co.in>
Subject Re: updating TransformHistory problem
Date Mon, 15 May 2006 04:54:35 GMT
Hi Thomas,

> > 1. want 'undo/redo' moves of your group with lines? 
> 
>     This requires a totally separate system to track this.  You
> will need to track this yourself.  Probably recording the original
> group transform on mouse down (or what ever starts the move
> operation).

Can you give bit more details on how to undo/redo the moves. because i have 
tried with "mouseup" action. But it's not updating the positions. whenever 
mouse released, i updated the transformHistory using following code.

svgCanvas.transformHistory.update(_svgCanvas.getRenderingTransform());
_svgCanvas.previousTransformAction.update();
_svgCanvas.nextTransformAction.update();

but when i perform previousTransformAction and nextTransformAction, it's not 
updating the positions.

Thanks,
Selva


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


Mime
View raw message