def __get_chat_rects(wh):
    """Get rects from the image size.

    Arguments:
        wh (tuple) : (width, height)

    Return:
        rects (list) : [(left, top, right, bottom), ...]
    """
    rects = []
    left = 0
    right = 600
    height = wh[1]
    msg_cnt = 5
    sy = -50
    step = -20
    for y in range(msg_cnt):
        rects.append((left, height + sy, right, height + sy + 10))
        sy = sy + step

    return rects