| 
    rolmodl
    
   C++ API for the Simple Directmedia Library 2 (SDL2) 
   | 
 
Rectangle represented by its top left corner coordinates and its bottom right corner coordinates. More...
#include <Geom.hpp>
  
Public Member Functions | |
| constexpr | RectXY (const int argX, const int argY, const int argX1, const int argY1) noexcept | 
| Initialize with the given top left corner x and y, and the bottom right corner x and y.  More... | |
| constexpr | RectXY (const SDL_Rect r) noexcept | 
Initialize from the given SDL_Rect converted from a width-height rectangle.  | |
| constexpr RectWH | wh () const noexcept | 
| Convert to an equivalent rolmodl::geom::RectWH.  | |
| constexpr SDL_Rect | sdl () const noexcept | 
Convert to an SDL_Rect width-height rectangle.  | |
Public Attributes | |
| int | x | 
| int | y | 
| int | x1 | 
| int | y1 | 
Rectangle represented by its top left corner coordinates and its bottom right corner coordinates.
Has no SDL equivalent.
      
  | 
  inlineconstexprnoexcept | 
Initialize with the given top left corner x and y, and the bottom right corner x and y.
ints with rolmodl::geom::Pos? It's less convenient to initialize 
 1.8.16