19 #ifndef MIR_GEOMETRY_SIZE_H_ 20 #define MIR_GEOMETRY_SIZE_H_ 33 constexpr
Size(
Size const&) =
default;
36 template<
typename W
idthType,
typename HeightType>
55 template<
typename Scalar>
61 template<
typename Scalar>
67 #ifdef MIR_GEOMETRY_DISPLACEMENT_H_
All things Mir.
Definition: atomic_callback.h:25
DeltaY dy
Definition: displacement.h:48
DeltaX dx
Definition: displacement.h:47
constexpr int as_int() const
Definition: dimensions.h:53
Size & operator=(Size const &)=default
std::ostream & operator<<(std::ostream &out, Displacement const &value)
Definition: ostream.cpp:28
constexpr Size()
Definition: size.h:32
constexpr Width operator*(Scalar scale, Width const &w)
Definition: dimensions.h:148
Definition: displacement.h:32
Height height
Definition: size.h:40
Width width
Definition: size.h:39
constexpr bool operator==(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:51
int const size
Definition: make_socket_rpc_channel.cpp:51
constexpr Size(WidthType &&width, HeightType &&height)
Definition: size.h:37
constexpr bool operator!=(Displacement const &lhs, Displacement const &rhs)
Definition: displacement.h:56