src/ccstruct/rect.cpp
void TBOX::rotate_large(const FCOORD &vec) {
  ICOORD top_left(bot_left.x(), top_right.y());
  ICOORD bottom_right(top_right.x(), bot_left.y());
  top_left.rotate(vec);
  bottom_right.rotate(vec);
  rotate(vec);
  TBOX box2(top_left, bottom_right);
  *this += box2;
}
// rotate_large constructs the containing bounding box of all 4
// corners after rotating them. It therefore guarantees that all
// original content is contained within, but also slightly enlarges the box.
rotate_large constructs the containing bounding box of all 4
corners after rotating them. It therefore guarantees that all
original content is contained within, but also slightly enlarges the box.
rotate_large constructs the containing bounding box of all 4 corners after rotating them . It therefore guarantees that all original content is contained within but also slightly enlarges the box .
void TBOX::rotate_large(const FCOORD &vec) {
  ICOORD top_left(bot_left.x(), top_right.y());
  ICOORD bottom_right(top_right.x(), bot_left.y());
  top_left.rotate(vec);
  bottom_right.rotate(vec);
  rotate(vec);
  TBOX box2(top_left, bottom_right);
  *this += box2;
}
void TBOX :: rotate_large ( const FCOORD & vec ) { ICOORD top_left ( bot_left . x ( ) , top_right . y ( ) ) ; ICOORD bottom_right ( top_right . x ( ) , bot_left . y ( ) ) ; top_left . rotate ( vec ) ; bottom_right . rotate ( vec ) ; rotate ( vec ) ; TBOX box2 ( top_left , bottom_right ) ; * this += box2 ; }
rotate_large constructs the containing bounding box of all 4
corners after rotating them.
rotate_large constructs the containing bounding box of all 4 corners after rotating them .