#include <utils.h>
◆ Box() [1/4]
template<typename Coord >
◆ Box() [2/4]
template<typename Coord >
template<typename N >
◆ Box() [3/4]
template<typename Coord >
teeui::Box< Coord >::Box |
( |
const Coord & |
x, |
|
|
const Coord & |
y, |
|
|
const Coord & |
w, |
|
|
const Coord & |
h |
|
) |
| |
|
inline |
◆ Box() [4/4]
template<typename Coord >
◆ bottomRight()
template<typename Coord >
◆ boundingBox()
template<typename Coord >
Creates a box that contains all of the given points.
◆ contains() [1/2]
template<typename Coord >
bool teeui::Box< Coord >::contains |
( |
const Box< Coord > & |
other | ) |
const |
|
inline |
◆ contains() [2/2]
template<typename Coord >
◆ extend()
template<typename Coord >
◆ fitsInside()
template<typename Coord >
bool teeui::Box< Coord >::fitsInside |
( |
const Box< Coord > & |
other | ) |
const |
|
inline |
fitsInside only compares the extend of the boxes. It returns true if this box would fit inside the other box regardless of their absolute positions.
◆ h()
template<typename Coord >
◆ merge() [1/3]
template<typename Coord >
◆ merge() [2/3]
template<typename Coord >
Returns a box that contains the this box and the given point.
◆ merge() [3/3]
template<typename Coord >
Returns a box that contains this box and all of the given points.
◆ overlaps()
template<typename Coord >
bool teeui::Box< Coord >::overlaps |
( |
const Box< Coord > & |
other | ) |
const |
|
inline |
◆ topLeft()
template<typename Coord >
◆ translate() [1/2]
template<typename Coord >
◆ translate() [2/2]
template<typename Coord >
◆ translateSelf()
template<typename Coord >
◆ w()
template<typename Coord >
◆ x()
template<typename Coord >
◆ y()
template<typename Coord >
◆ extend_
template<typename Coord >
◆ topLeft_
template<typename Coord >
The documentation for this class was generated from the following file:
- teeui/libteeui/include/teeui/utils.h