ftxui::Box
box.hpp
int int x_min x_min ftxui::Box::x_min = 0
int int x_max x_max ftxui::Box::x_max = 0
int int y_min y_min ftxui::Box::y_min = 0
int int y_max y_max ftxui::Box::y_max = 0
Box Box Intersection (Box a, Box b) Intersection ftxui::Box::Intersection Box a Box b

the biggest Box contained in both |a| and |b|.

Box Box Union (Box a, Box b) Union ftxui::Box::Union Box a Box b

the smallest Box containing both |a| and |b|.

void void Shift (int x, int y) Shift ftxui::Box::Shift int x int y

Shift the box by (x,y). x

horizontal shift.

y

vertical shift.

bool bool Contain (int x, int y) const Contain ftxui::Box::Contain int x int y

whether (x,y) is contained inside the box.

bool bool IsEmpty () const IsEmpty ftxui::Box::IsEmpty

whether the box is empty.

bool bool operator== (const Box &other) const operator== ftxui::Box::operator== const Box & other

whether |other| is the same as |this|

bool bool operator!= (const Box &other) const operator!= ftxui::Box::operator!= const Box & other

whether |other| and |this| are different.

- ftxui::Box
  Contain
- ftxui::Box
  Intersection
- ftxui::Box
  IsEmpty
- ftxui::Box
  operator!=
- ftxui::Box
  operator==
- ftxui::Box
  Shift
- ftxui::Box
  Union
- ftxui::Box
  x_max
- ftxui::Box
  x_min
- ftxui::Box
  y_max
- ftxui::Box
  y_min