def get_width_and_height_of_shape_from_two_points(tl, br):
    return (br.x - tl.x), abs(br.y - tl.y) # width, height
SVG's origin is top left so we need to take the absolute value, otherwise
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/svg.py/get_width_and_height_of_shape_from_two_points