Go to the documentation of this file.
19 #ifndef MIR_GEOMETRY_DIMENSIONS_H_
20 #define MIR_GEOMETRY_DIMENSIONS_H_
34 template<
typename Tag>
38 template<
typename OtherTag>
47 return (uint32_t)this->value;
Definition: dimensions_generic.h:53
Definition: dimensions.h:36
detail::IntWrapper< XTag > X
Definition: dimensions.h:57
constexpr IntWrapper()
Definition: dimensions.h:43
detail::IntWrapper< WidthTag > Width
Definition: dimensions.h:52
detail::IntWrapper< HeightTag > Height
Definition: dimensions.h:53
detail::IntWrapper< struct StrideTag > Stride
Definition: dimensions.h:55
Definition: splash_session.h:24
detail::IntWrapper< YTag > Y
Definition: dimensions.h:58
detail::IntWrapper< DeltaYTag > DeltaY
Definition: dimensions.h:60
constexpr uint32_t as_uint32_t() const
Definition: dimensions.h:45
detail::IntWrapper< DeltaXTag > DeltaX
Definition: dimensions.h:59
Wraps a geometry value and prevents it from being accidentally used for invalid operations (such as s...
Definition: dimensions_generic.h:60
Copyright © 2012-2021
Canonical Ltd.
Generated on Thu Jun 24 19:55:23 UTC 2021
This documentation is licensed under the GPL version 2 or 3.