Go to the documentation of this file.
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;
const_iterator end() const
std::vector< Rectangle >::const_iterator const_iterator
Definition: rectangles.h:48
std::vector< Rectangle >::size_type size_type
Definition: rectangles.h:49
const_iterator begin() const
Definition: rectangle.h:33
Definition: splash_session.h:24
A collection of rectangles (with possible duplicates).
Definition: rectangles.h:34
bool operator==(Rectangles const &rect) const
void add(Rectangle const &rect)
std::ostream & operator<<(std::ostream &out, Displacement const &value)
void remove(Rectangle const &rect)
removes at most one matching rectangle
Rectangle bounding_rectangle() const
void confine(Point &point) const
bool operator!=(Rectangles const &rect) const
Copyright © 2012-2022
Canonical Ltd.
Generated on Mon Jun 20 18:21:25 UTC 2022
This documentation is licensed under the GPL version 2 or 3.