Gamedev Framework (gf)  0.5.0 A C++11 framework for 2D games
gf::Region Struct Reference

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...

## Detailed Description

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).

gf::RectI, gf::RenderTarget

## ◆ bottom

 int gf::Region::bottom

Bottom coordinate of the region.

## ◆ height

 int gf::Region::height

Height of the region.

## ◆ left

 int gf::Region::left

Left coordinate of the region.

## ◆ width

 int gf::Region::width

Width of the region.