Btk
Btk::Rect Struct Reference

a SDL_Rect with methods More...

#include <rect.hpp>

Inheritance diagram for Btk::Rect:
Collaboration diagram for Btk::Rect:

Public Member Functions

 Rect (const SDL_Rect &r)
 
 Rect (int x, int y, int w, int h)
 
bool empty () const noexcept
 
bool has_point (const SDL_Point &p) const noexcept
 
bool has_point (int x, int y) const noexcept
 
bool operator== (const SDL_Rect &r) const noexcept
 
bool operator!= (const SDL_Rect &r) const noexcept
 

Detailed Description

a SDL_Rect with methods


The documentation for this struct was generated from the following file: