Go to the source code of this file.
|
| namespace | mir |
| |
| namespace | mir::geometry |
| | Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.
|
| |
|
| constexpr bool | mir::geometry::operator== (Displacement const &lhs, Displacement const &rhs) |
| |
| constexpr bool | mir::geometry::operator!= (Displacement const &lhs, Displacement const &rhs) |
| |
| std::ostream & | mir::geometry::operator<< (std::ostream &out, Displacement const &value) |
| |
| constexpr Displacement | mir::geometry::operator+ (Displacement const &lhs, Displacement const &rhs) |
| |
| constexpr Displacement | mir::geometry::operator- (Displacement const &lhs, Displacement const &rhs) |
| |
| constexpr Point | mir::geometry::operator+ (Point const &lhs, Displacement const &rhs) |
| |
| constexpr Point | mir::geometry::operator+ (Displacement const &lhs, Point const &rhs) |
| |
| constexpr Point | mir::geometry::operator- (Point const &lhs, Displacement const &rhs) |
| |
| constexpr Displacement | mir::geometry::operator- (Point const &lhs, Point const &rhs) |
| |
| constexpr Point & | mir::geometry::operator+= (Point &lhs, Displacement const &rhs) |
| |
| constexpr Point & | mir::geometry::operator-= (Point &lhs, Displacement const &rhs) |
| |
| bool | mir::geometry::operator< (Displacement const &lhs, Displacement const &rhs) |
| |
| template<typename Scalar > |
| constexpr Displacement | mir::geometry::operator* (Scalar scale, Displacement const &disp) |
| |
| template<typename Scalar > |
| constexpr Displacement | mir::geometry::operator* (Displacement const &disp, Scalar scale) |
| |
| constexpr Displacement | mir::geometry::as_displacement (Size const &size) |
| |
| constexpr Size | mir::geometry::as_size (Displacement const &disp) |
| |
| constexpr Displacement | mir::geometry::as_displacement (Point const &point) |
| |
| constexpr Point | mir::geometry::as_point (Displacement const &disp) |
| |
Copyright © 2012-2026
Canonical Ltd.
Generated on Fri Mar 13 05:28:59 UTC 2026
This documentation is licensed under the GPL version 2 or 3.