|
Mir
|
A collection of rectangles (with possible duplicates). More...
#include <rectangles.h>
Public Types | |
| typedef std::vector< Rectangle >::const_iterator | const_iterator |
| typedef std::vector< Rectangle >::size_type | size_type |
Public Member Functions | |
| Rectangles () | |
| Rectangles (std::initializer_list< Rectangle > const &rects) | |
| void | add (Rectangle const &rect) |
| void | remove (Rectangle const &rect) |
| removes at most one matching rectangle More... | |
| void | clear () |
| Rectangle | bounding_rectangle () const |
| void | confine (Point &point) const |
| const_iterator | begin () const |
| const_iterator | end () const |
| size_type | size () const |
| bool | operator== (Rectangles const &rect) const |
| bool | operator!= (Rectangles const &rect) const |
A collection of rectangles (with possible duplicates).
| typedef std::vector<Rectangle>::const_iterator mir::geometry::Rectangles::const_iterator |
| typedef std::vector<Rectangle>::size_type mir::geometry::Rectangles::size_type |
| mir::geometry::Rectangles::Rectangles | ( | ) |
| mir::geometry::Rectangles::Rectangles | ( | std::initializer_list< Rectangle > const & | rects | ) |
| void mir::geometry::Rectangles::add | ( | Rectangle const & | rect | ) |
| const_iterator mir::geometry::Rectangles::begin | ( | ) | const |
| Rectangle mir::geometry::Rectangles::bounding_rectangle | ( | ) | const |
| void mir::geometry::Rectangles::clear | ( | ) |
| void mir::geometry::Rectangles::confine | ( | Point & | point | ) | const |
| const_iterator mir::geometry::Rectangles::end | ( | ) | const |
| bool mir::geometry::Rectangles::operator!= | ( | Rectangles const & | rect | ) | const |
| bool mir::geometry::Rectangles::operator== | ( | Rectangles const & | rect | ) | const |
| void mir::geometry::Rectangles::remove | ( | Rectangle const & | rect | ) |
removes at most one matching rectangle
| size_type mir::geometry::Rectangles::size | ( | ) | const |
Copyright © 2012-2023
Canonical Ltd.
Generated on Wed Feb 1 16:59:23 UTC 2023
This documentation is licensed under the GPL version 2 or 3.