Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
Geometry.h File Reference
#include <algorithm>
#include <stdexcept>
#include <vector>

Classes

class  CPointGen< T >
 
class  CSizeGen< T >
 
class  CRectGen< T >
 

Macros

#define XBMC_FORCE_INLINE
 

Typedefs

using CPoint = CPointGen<float>
 
using CPointInt = CPointGen<int>
 
using CSize = CSizeGen<float>
 
using CSizeInt = CSizeGen<int>
 
using CRect = CRectGen<float>
 
using CRectInt = CRectGen<int>
 

Functions

template<typename T >
constexpr bool operator== (const CPointGen< T > &point1, const CPointGen< T > &point2) noexcept
 
template<typename T >
constexpr bool operator!= (const CPointGen< T > &point1, const CPointGen< T > &point2) noexcept
 
template<typename T >
bool operator== (const CSizeGen< T > &size1, const CSizeGen< T > &size2) noexcept
 
template<typename T >
bool operator!= (const CSizeGen< T > &size1, const CSizeGen< T > &size2) noexcept
 
template<typename T >
constexpr bool operator== (const CRectGen< T > &rect1, const CRectGen< T > &rect2) noexcept
 
template<typename T >
constexpr bool operator!= (const CRectGen< T > &rect1, const CRectGen< T > &rect2) noexcept
 

Macro Definition Documentation

◆ XBMC_FORCE_INLINE

#define XBMC_FORCE_INLINE

Typedef Documentation

◆ CPoint

using CPoint = CPointGen<float>

◆ CPointInt

◆ CRect

using CRect = CRectGen<float>

◆ CRectInt

using CRectInt = CRectGen<int>

◆ CSize

using CSize = CSizeGen<float>

◆ CSizeInt

using CSizeInt = CSizeGen<int>

Function Documentation

◆ operator!=() [1/3]

template<typename T >
constexpr bool operator!= ( const CPointGen< T > & point1,
const CPointGen< T > & point2 )
constexprnoexcept

◆ operator!=() [2/3]

template<typename T >
constexpr bool operator!= ( const CRectGen< T > & rect1,
const CRectGen< T > & rect2 )
constexprnoexcept

◆ operator!=() [3/3]

template<typename T >
bool operator!= ( const CSizeGen< T > & size1,
const CSizeGen< T > & size2 )
inlinenoexcept

◆ operator==() [1/3]

template<typename T >
constexpr bool operator== ( const CPointGen< T > & point1,
const CPointGen< T > & point2 )
constexprnoexcept

◆ operator==() [2/3]

template<typename T >
constexpr bool operator== ( const CRectGen< T > & rect1,
const CRectGen< T > & rect2 )
constexprnoexcept

◆ operator==() [3/3]

template<typename T >
bool operator== ( const CSizeGen< T > & size1,
const CSizeGen< T > & size2 )
inlinenoexcept