fixtransform branch: TODO for rotating skewed elements
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1042 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
2d1fb52e35
commit
194e80ff77
|
@ -1744,6 +1744,8 @@ function BatchCommand(text) {
|
|||
// else, it's a non-group
|
||||
else {
|
||||
var box = canvas.getBBox(selected);
|
||||
// TODO: fix this, it is not correct in the case of a skewed element
|
||||
// - use transformBox?
|
||||
var center = {x: (box.x+box.width/2), y: (box.y+box.height/2)};
|
||||
var newcenter = {x: center.x, y: center.y };
|
||||
var m = svgroot.createSVGMatrix();
|
||||
|
|
Loading…
Reference in New Issue