Mir
Classes | Namespaces | Functions
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

 mir
 
 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-2021 Canonical Ltd.
Generated on Fri Jan 29 19:02:38 UTC 2021
This documentation is licensed under the GPL version 2 or 3.