|
Mir
|
#include <rectangle.h>
Public Member Functions | |
| Rectangle | intersection_with (Rectangle const &r) const |
Public Member Functions inherited from mir::geometry::generic::Rectangle< Point, Size > | |
| constexpr | Rectangle ()=default |
| constexpr | Rectangle (Point const &top_left, Size const &size) |
| Point | bottom_right () const |
| The bottom right boundary point of the rectangle. More... | |
| Point | top_right () const |
| Point | bottom_left () const |
| bool | contains (Point const &p) const |
| bool | contains (Rectangle< Point, Size > const &r) const |
| Test if the rectangle contains another. More... | |
| bool | overlaps (Rectangle< Point, Size > const &r) const |
| Corresponding< Point, XTag > | left () const |
| Corresponding< Point, XTag > | right () const |
| Corresponding< Point, YTag > | top () const |
| Corresponding< Point, YTag > | bottom () const |
Additional Inherited Members | |
Public Attributes inherited from mir::geometry::generic::Rectangle< Point, Size > | |
| Point | top_left |
| Size | size |
Copyright © 2012-2021
Canonical Ltd.
Generated on Sat Aug 7 00:05:17 UTC 2021
This documentation is licensed under the GPL version 2 or 3.