code: 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)
  
file_path: pdftabextract/pdftabextract/textboxes.py
imports: import math
  import numpy
  from pdftabextract.common import update_text_dict_pos, sorted_by_attr, DIRECTION_HORIZONTAL, DIRECTION_VERTICAL, SKEW_X, SKEW_Y
  from pdftabextract.geom import pt, vecrotate
label_desc: Use image node_id 6 for calling a global function with example usage: rotate_textboxes(page, page_rot, about_pt) without return types