19 #ifndef MIR_GEOMETRY_RECTANGLES_H_ 20 #define MIR_GEOMETRY_RECTANGLES_H_ 26 #include <initializer_list> 38 Rectangles(std::initializer_list<Rectangle>
const& rects);
49 typedef std::vector<Rectangle>::size_type
size_type;
58 std::vector<Rectangle> rectangles;
bool operator==(Rectangles const &rect) const
Definition: splash_session.h:24
bool operator!=(Rectangles const &rect) const
A collection of rectangles (with possible duplicates).
Definition: rectangles.h:34
Rectangle bounding_rectangle() const
void confine(Point &point) const
const_iterator begin() const
const_iterator end() const
Definition: rectangle.h:33
std::ostream & operator<<(std::ostream &out, Displacement const &value)
void add(Rectangle const &rect)
std::vector< Rectangle >::size_type size_type
Definition: rectangles.h:49
std::vector< Rectangle >::const_iterator const_iterator
Definition: rectangles.h:48