struct
TSize2
template<class T>Encapsulates width/height in a single structure.
Public
Constructors
TSize2<T>
TSize2<T>() = default
TSize2<T>
constexpr TSize2<T>(T width, T height)
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
constexpr TSize2(float width, float height)
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
constexpr TSize2(double width, double height)
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
constexpr TSize2(unsigned int width, unsigned int height)
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
constexpr TSize2(int width, int height)
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
TSize2
TSize2() = default
TSize2
constexpr TSize2(ZeroTag)
TSize2
Fields
Width
T Width
Height
T Height
Width
float Width
Height
float Height
Width
double Width
Height
double Height
Width
unsigned int Width
Height
unsigned int Height
Width
int Width
Height
int Height
Width
TUnitValue<i32, LogicalPixel> Width
Height
TUnitValue<i32, LogicalPixel> Height
Width
Height
Width
TUnitValue<i32, PhysicalPixel> Width
Height
TUnitValue<i32, PhysicalPixel> Height
Width
Height
Operators
operator*
operator/
operator+
operator+=
TSize2<T> &operator+=(T rhs)
operator-=
TSize2<T> &operator-=(T rhs)
operator*=
TSize2<T> &operator*=(T rhs)
operator/=
TSize2<T> &operator/=(T rhs)
operator==
operator!=
operator*
operator/
operator+
operator+=
operator-=
operator*=
operator/=
operator==
operator!=
operator*
operator/
operator+
operator+=
operator-=
operator*=
operator/=
operator==
operator!=
operator*
operator/
operator+
operator+=
operator-=
operator*=
operator/=
operator==
operator!=
operator*
operator/
operator+
operator+=
TSize2<i32> &operator+=(int rhs)
operator-=
TSize2<i32> &operator-=(int rhs)
operator*=
TSize2<i32> &operator*=(int rhs)
operator/=
TSize2<i32> &operator/=(int rhs)
operator==
operator!=
operator+
TSize2<TUnitValue<i32, LogicalPixel>> operator+(const TSize2<TUnitValue<i32, LogicalPixel>> &rhs) const
operator-
TSize2<TUnitValue<i32, LogicalPixel>> operator-(const TSize2<TUnitValue<i32, LogicalPixel>> &rhs) const
operator*
operator*
TSize2<TUnitValue<i32, LogicalPixel>> operator*(const TSize2<TUnitValue<i32, LogicalPixel>> &rhs) const
operator/
operator/
TSize2<TUnitValue<i32, LogicalPixel>> operator/(const TSize2<TUnitValue<i32, LogicalPixel>> &rhs) const
operator+
operator+=
operator+=
operator-=
operator-=
operator*=
operator*=
operator/=
operator/=
operator==
operator!=
operator+
TSize2<TUnitValue<float, LogicalPixel>> operator+(const TSize2<TUnitValue<float, LogicalPixel>> &rhs) const
operator-
TSize2<TUnitValue<float, LogicalPixel>> operator-(const TSize2<TUnitValue<float, LogicalPixel>> &rhs) const
operator*
operator*
TSize2<TUnitValue<float, LogicalPixel>> operator*(const TSize2<TUnitValue<float, LogicalPixel>> &rhs) const
operator/
operator/
TSize2<TUnitValue<float, LogicalPixel>> operator/(const TSize2<TUnitValue<float, LogicalPixel>> &rhs) const
operator+
operator+=
TSize2<TUnitValue<float, LogicalPixel>> &operator+=(const TSize2<TUnitValue<float, LogicalPixel>> &rhs)
operator+=
operator-=
TSize2<TUnitValue<float, LogicalPixel>> &operator-=(const TSize2<TUnitValue<float, LogicalPixel>> &rhs)
operator-=
operator*=
operator*=
TSize2<TUnitValue<float, LogicalPixel>> &operator*=(const TSize2<TUnitValue<float, LogicalPixel>> &rhs)
operator/=
operator/=
TSize2<TUnitValue<float, LogicalPixel>> &operator/=(const TSize2<TUnitValue<float, LogicalPixel>> &rhs)
operator==
operator!=
operator+
TSize2<TUnitValue<i32, PhysicalPixel>> operator+(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs) const
operator-
TSize2<TUnitValue<i32, PhysicalPixel>> operator-(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs) const
operator*
operator*
TSize2<TUnitValue<i32, PhysicalPixel>> operator*(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs) const
operator/
operator/
TSize2<TUnitValue<i32, PhysicalPixel>> operator/(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs) const
operator+
operator+=
TSize2<TUnitValue<i32, PhysicalPixel>> &operator+=(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs)
operator+=
operator-=
TSize2<TUnitValue<i32, PhysicalPixel>> &operator-=(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs)
operator-=
operator*=
operator*=
TSize2<TUnitValue<i32, PhysicalPixel>> &operator*=(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs)
operator/=
operator/=
TSize2<TUnitValue<i32, PhysicalPixel>> &operator/=(const TSize2<TUnitValue<i32, PhysicalPixel>> &rhs)
operator==
operator!=
operator+
TSize2<TUnitValue<float, PhysicalPixel>> operator+(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs) const
operator-
TSize2<TUnitValue<float, PhysicalPixel>> operator-(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs) const
operator*
TSize2<TUnitValue<float, PhysicalPixel>> operator*(const TUnitValue<float, PhysicalPixel> rhs) const
operator*
TSize2<TUnitValue<float, PhysicalPixel>> operator*(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs) const
operator/
TSize2<TUnitValue<float, PhysicalPixel>> operator/(const TUnitValue<float, PhysicalPixel> rhs) const
operator/
TSize2<TUnitValue<float, PhysicalPixel>> operator/(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs) const
operator+
operator+=
TSize2<TUnitValue<float, PhysicalPixel>> &operator+=(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs)
operator+=
operator-=
TSize2<TUnitValue<float, PhysicalPixel>> &operator-=(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs)
operator-=
operator*=
operator*=
TSize2<TUnitValue<float, PhysicalPixel>> &operator*=(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs)
operator/=
operator/=
TSize2<TUnitValue<float, PhysicalPixel>> &operator/=(const TSize2<TUnitValue<float, PhysicalPixel>> &rhs)