Mir
Loading...
Searching...
No Matches
size.h File Reference
#include "mir/geometry/dimensions.h"
#include "point.h"
#include <iosfwd>
Include dependency graph for size.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mir::geometry::Size

Namespaces

namespace  mir
namespace  mir::geometry
 Basic geometry types. Types for dimensions, displacements, etc. and the operations that they support.

Functions

constexpr bool mir::geometry::operator== (Size const &lhs, Size const &rhs)
constexpr bool mir::geometry::operator!= (Size const &lhs, Size const &rhs)
std::ostream & mir::geometry::operator<< (std::ostream &out, Size const &value)
template<typename Scalar>
constexpr Size mir::geometry::operator* (Scalar scale, Size const &size)
template<typename Scalar>
constexpr Size mir::geometry::operator* (Size const &size, Scalar scale)
template<typename Scalar>
constexpr Size mir::geometry::operator/ (Size const &size, Scalar scale)
constexpr Size mir::geometry::as_size (Point const &point)
constexpr Point mir::geometry::as_point (Size const &size)

Copyright © 2012-2026 Canonical Ltd.
Generated on Sun Mar 15 06:10:58 UTC 2026
This documentation is licensed under the GPL version 2 or 3.