(page, page_rot, about_pt)
Rotate all text boxes in <page> about a point <about_pt> by <page_rot> radians.
Rotate all text boxes in <page> about a point <about_pt> by <page_rot> radians.
Rotate all text boxes in <page > about a point <about_pt > by <page_rot > radians .
def rotate_textboxes(page, page_rot, about_pt):
    """
    Rotate all text boxes in <page> about a point <about_pt> by <page_rot> radians.
    """
    for t in page['texts']:
        t_pt = pt(t['left'], t['top'])
        
        # rotate back
        t_pt_rot = vecrotate(t_pt, page_rot, about_pt)
        
        # update text dict
        update_text_dict_pos(t, t_pt_rot, update_node=True)
def rotate_textboxes ( page , page_rot , about_pt ) : for t in page [ 'texts' ] : t_pt = pt ( t [ 'left' ] , t [ 'top' ] ) # rotate back t_pt_rot = vecrotate ( t_pt , page_rot , about_pt ) # update text dict update_text_dict_pos ( t , t_pt_rot , update_node = True )