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;
Rectangles(std::initializer_list< Rectangle > const &rects)
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:34
Definition: splash_session.h:24
A collection of rectangles (with possible duplicates).
Definition: rectangles.h:35
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-2020
Canonical Ltd.
Generated on Sun Sep 27 19:03:53 UTC 2020
This documentation is licensed under the GPL version 2 or 3.