rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
Geom.hpp
1 #pragma once
2 
3 #include <cstdint>
4 
5 #include <SDL.h>
6 
7 namespace rolmodl::geom {
8  struct Pos;
9  struct Size;
10  struct XYFloat;
11  struct XYInt32;
12  struct RectXY;
13  struct RectWH;
14 }
rolmodl::geom::XYInt32
int32 point data type. The value is in pixels. Used by mouse events.
Definition: Geom.hpp:49
rolmodl::geom::Size
int dimensions data type. The value is in pixels. Semantically different from rolmodl::geom::Pos.
Definition: Geom.hpp:31
rolmodl::geom::RectXY
Rectangle represented by its top left corner coordinates and its bottom right corner coordinates.
Definition: Geom.hpp:87
rolmodl::geom::RectWH
Rectangle represented by its top left corner coordinates, width, and height.
Definition: Geom.hpp:59
cstdint
rolmodl::geom
Geometry structures.
Definition: Geom.hpp:7
rolmodl::geom::Pos
int point data type. The value is in pixels. Semantically different from rolmodl::geom::Size.
Definition: Geom.hpp:18