assertEquals(0.5*IShape.PPC, rec.getX(), 0.000001);
assertEquals(-0.5*IShape.PPC, rec.getY(), 0.000001);
assertEquals(IShape.PPC, rec.getWidth(), 0.000001);
assertEquals(IShape.PPC, rec.getHeight(), 0.000001);
IDot dot = (IDot)gp.getShapeAt(1);
assertEquals(IShape.PPC, dot.getX(), 0.000001);
assertEquals(-IShape.PPC, dot.getY(), 0.000001);
rec = (IRectangle)gp.getShapeAt(2);
assertEquals(0.5*2.*IShape.PPC, rec.getX(), 0.000001);
assertEquals(-0.5*2.*IShape.PPC, rec.getY(), 0.000001);
assertEquals(2.*IShape.PPC, rec.getWidth(), 0.000001);
assertEquals(2.*IShape.PPC, rec.getHeight(), 0.000001);
dot = (IDot)gp.getShapeAt(3);
assertEquals(2.*2.*IShape.PPC, dot.getX(), 0.000001);
assertEquals(-2.*2.*IShape.PPC, dot.getY(), 0.000001);
}