code: public int[] transformPoint(double xCoord, double yCoord) {
          double[] src = new double[]{xCoord, yCoord};
          double[] dest = new double[2];
          this.transform.transform(src, 0, dest, 0, 1);
          return new int[]{(int) dest[0], (int) dest[1]};
      }
docs: Transforms a point according to the current affine transformation,
  converting a world coordinate into a screen coordinate.
  
  @param xCoord x-coordinate of the world point to transform
  @param yCoord y-coordinate of the world point to transform
  @return       the transformed screen coordinate