| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <Geometry.h>
Public Types | |
| typedef CRectGen< T > | this_type | 
| typedef CPointGen< T > | point_type | 
| typedef CSizeGen< T > | size_type | 
Public Member Functions | |
| CRectGen () noexcept=default | |
| constexpr | CRectGen (T left, T top, T right, T bottom) | 
| constexpr | CRectGen (const point_type &p1, const point_type &p2) | 
| constexpr | CRectGen (const point_type &origin, const size_type &size) | 
| template<class U > | |
| constexpr | CRectGen (const CRectGen< U > &rhs) | 
| void | SetRect (T left, T top, T right, T bottom) | 
| constexpr bool | PtInRect (const point_type &point) const | 
| constexpr bool | Intersects (const this_type &rect) const | 
| this_type & | operator-= (const point_type &point) XBMC_FORCE_INLINE | 
| constexpr this_type | operator- (const point_type &point) const | 
| this_type & | operator+= (const point_type &point) XBMC_FORCE_INLINE | 
| constexpr this_type | operator+ (const point_type &point) const | 
| this_type & | operator-= (const size_type &size) | 
| constexpr this_type | operator- (const size_type &size) const | 
| this_type & | operator+= (const size_type &size) | 
| constexpr this_type | operator+ (const size_type &size) const | 
| this_type & | Intersect (const this_type &rect) | 
| this_type & | Union (const this_type &rect) | 
| constexpr bool | IsEmpty () const XBMC_FORCE_INLINE | 
| constexpr point_type | P1 () const XBMC_FORCE_INLINE | 
| constexpr point_type | P2 () const XBMC_FORCE_INLINE | 
| constexpr T | Width () const XBMC_FORCE_INLINE | 
| constexpr T | Height () const XBMC_FORCE_INLINE | 
| constexpr T | Area () const XBMC_FORCE_INLINE | 
| size_type | ToSize () const | 
| std::vector< this_type > | SubtractRect (this_type splitterRect) | 
| std::vector< this_type > | SubtractRects (const std::vector< this_type > &intersectionList) | 
| void | GetQuad (point_type(&points)[4]) | 
Public Attributes | |
| T | x1 {} | 
| T | y1 {} | 
| T | x2 {} | 
| T | y2 {} | 
      
  | 
  defaultnoexcept | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineexplicitconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inline | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inline | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inline | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inlineconstexpr | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlineconstexpr | 
| T CRectGen< T >::x1 {} | 
| T CRectGen< T >::x2 {} | 
| T CRectGen< T >::y1 {} | 
| T CRectGen< T >::y2 {} |