(t)
return rect(t['topleft'], t['bottomright'])
create a rectangle from a text box <t>
create a rectangle from a text box <t>
create a rectangle from a text box <t >
def rect_from_text(t):
    """create a rectangle from a text box <t>"""
    return rect(t['topleft'], t['bottomright'])
def rect_from_text ( t ) : return rect ( t [ 'topleft' ] , t [ 'bottomright' ] )