AffineTransform xform = AffineTransform.getRotateInstance(Math.PI / 2);
AffineTransformOp op = new AffineTransformOp(xform, AffineTransformOp.TYPE_BICUBIC);
harness.check(op.getPoint2D(new Point2D.Double(5, 5), null), new Point2D.Double(-5,5));
// Do it again, but result in a diamond (not another level rectangle)
xform.rotate(Math.PI / 3);
op = new AffineTransformOp(xform, AffineTransformOp.TYPE_BICUBIC);
harness.check(op.getPoint2D(new Point2D.Double(5, 5), null), new Point2D.Double(-6.830127018922193, -1.8301270189221923));
// Rotation about a point
xform.setToIdentity();