Contains the SDL_Rect helper code.  
More...
#include "sdl/point.hpp"
#include <SDL2/SDL_rect.h>
#include <algorithm>
Go to the source code of this file.
|  | 
| struct | rect | 
|  | An abstract description of a rectangle with integer coordinates.  More... 
 | 
|  | 
|  | 
| bool | operator== (const SDL_Rect &a, const SDL_Rect &b) | 
|  | 
| bool | operator!= (const SDL_Rect &a, const SDL_Rect &b) | 
|  | 
| std::ostream & | operator<< (std::ostream &s, const SDL_Rect &rect) | 
|  | 
| std::ostream & | operator<< (std::ostream &, const rect &) | 
|  | 
| template<typename Rect > | 
| constexpr SDL_FRect | sdl::precise_subrect (const Rect &base, const SDL_FPoint &tl, const SDL_FPoint &br) | 
|  | 
Contains the SDL_Rect helper code. 
Definition in file rect.hpp.
◆ operator!=()
      
        
          | bool operator!= | ( | const SDL_Rect & | a, | 
        
          |  |  | const SDL_Rect & | b | 
        
          |  | ) |  |  | 
      
 
 
◆ operator<<() [1/2]
      
        
          | std::ostream& operator<< | ( | std::ostream & | s, | 
        
          |  |  | const rect & | r | 
        
          |  | ) |  |  | 
      
 
 
◆ operator<<() [2/2]
      
        
          | std::ostream& operator<< | ( | std::ostream & | s, | 
        
          |  |  | const SDL_Rect & | rect | 
        
          |  | ) |  |  | 
      
 
 
◆ operator==()
      
        
          | bool operator== | ( | const SDL_Rect & | a, | 
        
          |  |  | const SDL_Rect & | b | 
        
          |  | ) |  |  |