I've applied a rotation to my rect shape:
        var pvRot = new svg.coords.transform.Rotate(null,
parseFloat(data['rotXY']), cx,cx;
        PV.setTransform(pvRot);

and set it draggable:
        this.draggable = new svg.behavior.Draggable(PV);

but:
1) during the dragging, and so at the end, the drag action reset the
rotation;
2) re-appling the rotation causes the reset of the dragging.

How can I resolve this problem?
ARRRRGH!

ALSO: which is the best way to select a shape (and get back the same shape) 
by a mouse click on it?
PL

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/svg-drag-and-shape-selection-tp7148162p7148162.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to