def process_rectangle_node(node):
    """Get coordinate string from `rect` tag"""
    x = float(node.getAttribute('x'))
    y = float(node.getAttribute('y'))
    width = float(node.getAttribute('width'))
    height = float(node.getAttribute('height'))
    pairs = [','.join((str(x), str(y))), ','.join((str(x + width), str(y))),
        ','.join((str(x + width), str(y + height))), ','.join((str(x), str(
        y + height))), ','.join((str(x), str(y)))]
    return ' '.join(pairs)
