BoardLib::Rect Struct Reference

Struct representing a rectangle on the plane. More...

#include <Rect.h>

List of all members.

Public Member Functions

 Rect (float left=0.0f, float top=0.0f, float width=0.0f, float height=0.0f)

Public Attributes

float left
float top
float width
float height


Detailed Description

Struct representing a rectangle on the plane.

The Rectangle structure.


Constructor & Destructor Documentation

BoardLib::Rect::Rect ( float  left = 0.0f,
float  top = 0.0f,
float  width = 0.0f,
float  height = 0.0f 
) [inline]

Rect constructor.

Parameters:
left 
top 
width 
height 
Returns:


Member Data Documentation

float BoardLib::Rect::left

Coordinate of the left side.

float BoardLib::Rect::top

Coordinate of the upper side.

float BoardLib::Rect::width

Width of the rectangle.

float BoardLib::Rect::height

Height of the rectangle.


The documentation for this struct was generated from the following file:
Generated on Fri Aug 24 19:07:40 2007 for Board by  doxygen 1.5.1