Ian

Results 342 comments of Ian

Swap the transforms around, http://svg.dabbles.info/snaptut-dragplugin.php should be amended (I need to swap the php files around, but thats for another day).

The dragging transforms, in this case (and probably in general, so it would be a better solution anyway just for drags), put the dragged translation first, ie.. this.transform( "t" +...

Is this one any better ? http://svg.dabbles.info/snaptut-altdragnew

Just be wary that I think css transforms on svg elements in IE isn't very well supported, so I would do some extra testing in that browser if its a...

There is no way to save anything in Snap specifically....you could somehow dump the html/svg possibly and do something with it, and reimport later

If I'm reading it right, I think this would be expected behaviour. The rects coordinates (and hence I would assume its getBBox) will be using the container objects (in this...

I guess it maybe depends on your end aim, it can be a bit fiddly without a working example. Maybe add g.transform().localMatrix.e & g.transform().localMatrix.f to the elements x,y to find...

You would probably have to get the existing transform with getCTM() and then apply it to the various bb points..eg the following I think may return the points function matrixXY(m,x,y)...

I'd say the state is probably, quietly stable. I suspect there won't be a many updates. You can normally work around any issues with plugins etc and extend, but there...

I just preferred it's style and feel when I started meddling with svg tbh, and I always felt I could extend it the way I wanted, and it made logical...