code: public static Point layerToParent(Layer layer, Layer parent, float x, float y) {
      Point into = new Point(x, y);
      return layerToParent(layer, parent, into, into);
    }
docs: Converts the supplied point from coordinates relative to the specified
  child layer to coordinates relative to the specified parent layer.