Affine Transformation of Graphics in Java