updateClipPath update the first element of clipPath.
it should update all elements in clipPath such as
var updateClipPath = function (attr, tx, ty) {
var path = getRefElem(attr).firstChild;
while (path != null) {
var cp_xform = getTransformList(path);
var newxlate = svgroot.createSVGTransform();
newxlate.setTranslate(tx, ty);
cp_xform.appendItem(newxlate);
// Update clipPath's dimensions
recalculateDimensions(path);
path = path.nextSibling;
}
}
Original issue reported on code.google.com by psh....@gmail.com on 25 Jan 2014 at 6:33
Original issue reported on code.google.com by
psh....@gmail.com
on 25 Jan 2014 at 6:33