![]() |
Gamedev Framework (gf) 1.2.0
A C++17 framework for 2D games
|
A region of a window. More...
#include <gf/Region.h>
Public Attributes | |
int | left |
Left coordinate of the region. More... | |
int | bottom |
Bottom coordinate of the region. More... | |
int | width |
Width of the region. More... | |
int | height |
Height of the region. More... | |
A region of a window.
A region is defined by its bottom-left point and its size. It is used to define viewports and scissor boxes (see gf::RenderTarget).
int gf::Region::bottom |
Bottom coordinate of the region.
int gf::Region::height |
Height of the region.
int gf::Region::left |
Left coordinate of the region.
int gf::Region::width |
Width of the region.