def new_checkered_surf_from_size(size):
    """Return surface of given size with checker pattern.

    Parameters
    ==========
    size (sequence w/ 2 integers)
        represent the size of the surface, where each
        integer represents the number of pixels in each
        dimension of the surface.
    """
    ### create the surface with the given size
    checkered_surf = Surface(size).convert()

    ### draw the checker pattern on it

    draw_checker_pattern(checkered_surf, TRANSP_COLOR_A, TRANSP_COLOR_B, 16, 16)

    ### return the surface
    return checkered_surf
Return surface of given size with checker pattern.

    Parameters
    ==========
    size (sequence w/ 2 integers)
        represent the size of the surface, where each
        integer represents the number of pixels in each
        dimension of the surface.
    
nodezator/colorsman/color2d.py