SRect rect2 = new SRect(0,0,150,150);
rect2.setFillPaint(FlatColor.GREEN);
page.add(rect2);
Doc xdoc = saveAndReadback(doc);
assertTrue("translate(50.0,50.0)".equals(xdoc.xpathString("/svg/g/@transform")));
assertTrue("10.0".equals(xdoc.xpathString("/svg/g/rect/@width")));
assertTrue("1.0".equals(xdoc.xpathString("/svg/g/ellipse/@stroke-width")));
assertTrue("150.0".equals(xdoc.xpathString("/svg/rect/@width")));
}