private @NotNull Point toRealCoordinates(@NotNull Point pt) {
    double scale = getPixelDensity();
    return new Point(ROUND.round(pt.x * scale), ROUND.round(pt.y * scale));
  }
private @NotNull Point toRealCoordinates(@NotNull Point pt)