LibBoard::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)
Point topLeft ()
Point topRight ()
Point bottomLeft ()
Point bottomRight ()

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

LibBoard::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


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

Generated on Mon Jan 19 09:48:19 2009 for Board by  doxygen 1.5.6