Audacity 3.2.0
|
A class that represents size in 2D space. More...
#include <Size.h>
Public Member Functions | |
SizeType & | operator+= (SizeType rhs) noexcept |
SizeType & | operator-= (SizeType rhs) noexcept |
SizeType & | operator*= (SizeType rhs) noexcept |
SizeType & | operator/= (SizeType rhs) noexcept |
template<typename ScaleType > | |
SizeType & | operator*= (ScaleType scale) noexcept |
template<typename ScaleType > | |
SizeType & | operator/= (ScaleType scale) noexcept |
SizeType & | operator- () noexcept |
bool | IsZero () const noexcept |
Return true if both width and height are zero. More... | |
Public Attributes | |
DataType | width {} |
Width. More... | |
DataType | height {} |
Height. More... | |
A class that represents size in 2D space.
|
inlinenoexcept |
Return true if both width and height are zero.
Definition at line 98 of file Size.h.
References graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 71 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 55 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 39 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 87 of file Size.h.
References graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 47 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 79 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
|
inlinenoexcept |
Definition at line 63 of file Size.h.
References graphics::details::GetPositiveSizeValue(), graphics::SizeType< DataType >::height, and graphics::SizeType< DataType >::width.
DataType graphics::SizeType< DataType >::height {} |
Height.
Definition at line 37 of file Size.h.
Referenced by graphics::SizeType< DataType >::IsZero(), graphics::SizeType< DataType >::operator*=(), graphics::SizeType< DataType >::operator+=(), graphics::SizeType< DataType >::operator-(), graphics::SizeType< DataType >::operator-=(), graphics::SizeType< DataType >::operator/=(), and graphics::size_cast().
DataType graphics::SizeType< DataType >::width {} |
Width.
Definition at line 35 of file Size.h.
Referenced by graphics::SizeType< DataType >::IsZero(), graphics::SizeType< DataType >::operator*=(), graphics::SizeType< DataType >::operator+=(), graphics::SizeType< DataType >::operator-(), graphics::SizeType< DataType >::operator-=(), graphics::SizeType< DataType >::operator/=(), and graphics::size_cast().