libtmx  0.4.0
an C++11 library for reading TMX files
Public Attributes | List of all members
tmx::Rect Struct Reference

A rectangle representing the portion of an image. More...

#include <tmx/Geometry.h>

Public Attributes

unsigned x
 
unsigned y
 
unsigned width
 
unsigned height
 

Detailed Description

A rectangle representing the portion of an image.

Member Data Documentation

unsigned tmx::Rect::height

the height of the rectangle

unsigned tmx::Rect::width

the width of the rectangle

unsigned tmx::Rect::x

the x coordinate of the top left corner

unsigned tmx::Rect::y

the y coordinate of the top left corner