Mir
Classes | Namespaces | Functions
size.h File Reference
#include "forward.h"
#include "dimensions.h"
#include <ostream>
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::generic::Size< T >
 

Namespaces

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

Functions

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

Copyright © 2012-2022 Canonical Ltd.
Generated on Fri Aug 26 13:27:37 UTC 2022
This documentation is licensed under the GPL version 2 or 3.