Contains the SDL_Rect helper code. More...
Go to the source code of this file.
Classes | |
struct | rect |
An abstract description of a rectangle with integer coordinates. More... | |
Namespaces | |
sdl | |
Functions | |
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 &) |
Variables | |
constexpr const SDL_Rect | sdl::empty_rect { 0, 0, 0, 0 } |
Contains the SDL_Rect helper code.
Definition in file rect.hpp.
bool operator!= | ( | const SDL_Rect & | a, |
const SDL_Rect & | b | ||
) |
Definition at line 28 of file rect.cpp.
References operator==().
std::ostream& operator<< | ( | std::ostream & | s, |
const SDL_Rect & | rect | ||
) |
std::ostream& operator<< | ( | std::ostream & | , |
const rect & | |||
) |
bool operator== | ( | const SDL_Rect & | a, |
const SDL_Rect & | b | ||
) |
Definition at line 23 of file rect.cpp.
Referenced by operator!=(), and rect::size().