import itertools


def GenerateWindowCoordinates(Size: int):
    """
    Generates A List of All Possible Coordinates Inside A Window of Size "Size"
    if size == 3 then the output is like this:
    WindowCoordinates = [[1, 1], [1, 0], [1, -1], [0, 1], [0, 0], [0, -1], [-1, 1], [-1, 0], [-1, 1], [2, 2]]

    :param Size: Size of The Window
    :return Coordinates: List of All Possible Coordinates
    """

    # Generate List of All Possible Point Values Based on Size
    Points = list(range(-Size // 2 + 1, Size // 2 + 1))
    PointsList = [Points, Points]

    # Generates All Possible Coordinates Inside The Window
    Coordinates = list(itertools.product(*PointsList))
    return Coordinates