Audacity 3.2.0
Classes | Namespaces | Typedefs | Functions
Size.h File Reference
#include <cmath>
#include <type_traits>
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  graphics::SizeType< DataType >
 A class that represents size in 2D space. More...
 

Namespaces

namespace  graphics
 
namespace  graphics::details
 

Typedefs

using graphics::Size = SizeType< float >
 Alias for SizeType<float> More...
 

Functions

template<typename DataType >
constexpr DataType graphics::details::GetPositiveSizeValue (DataType value) noexcept
 
template<typename To , typename From >
SizeType< To > graphics::size_cast (SizeType< From > point)
 Casts size to another data type. More...
 
template<typename DataType >
bool graphics::operator== (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType >
bool graphics::operator!= (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType >
SizeType< DataType > graphics::operator+ (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType >
SizeType< DataType > graphics::operator- (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType >
SizeType< DataType > graphics::operator* (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType >
SizeType< DataType > graphics::operator/ (SizeType< DataType > lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType , typename ScaleType >
SizeType< DataType > graphics::operator* (SizeType< DataType > lhs, ScaleType rhs) noexcept
 
template<typename DataType , typename ScaleType >
SizeType< DataType > graphics::operator* (ScaleType lhs, SizeType< DataType > rhs) noexcept
 
template<typename DataType , typename ScaleType >
SizeType< DataType > graphics::operator/ (SizeType< DataType > lhs, ScaleType rhs) noexcept