def get_cursor_ratio(image_size: tuple, screen_size: tuple):
    """
    Used to calculate the ratio of the x and y axis of the image to the screen size.
    :param image_size: (x, y,) of image size.
    :param screen_size: (x, y,) of screen size.
    :return: (x, y,) as the ratio of the image size to the screen size.
    """
    x_ratio = screen_size[0] / image_size[0]
    y_ratio = screen_size[1] / image_size[1]

    return x_ratio, y_ratio