rolmodl
C++ API for the Simple Directmedia Library 2 (SDL2)
Public Attributes | List of all members
rolmodl::geom::Size Struct Reference

int dimensions data type. The value is in pixels. Semantically different from rolmodl::geom::Pos. More...

#include <Geom.hpp>

Public Attributes

int w
 
int h
 

Detailed Description

int dimensions data type. The value is in pixels. Semantically different from rolmodl::geom::Pos.

Should be used in conjunction with rolmodl::geom::Pos to indicate the semantic difference between position and size.

Has no SDL equivalent as SDL passes width and height as separate ints.

Definition at line 31 of file Geom.hpp.


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