LibBoard::Rect Struct Reference

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

#include <Rect.h>

List of all members.

Public Member Functions

 Rect (double left=0.0f, double top=0.0f, double width=0.0f, double height=0.0f)
Point topLeft ()
Point topRight ()
Point bottomLeft ()
Point bottomRight ()

Public Attributes

double left
double top
double width
double height

Detailed Description

Struct representing a rectangle on the plane.

The Rectangle structure.


Constructor & Destructor Documentation

LibBoard::Rect::Rect ( double  left = 0.0f,
double  top = 0.0f,
double  width = 0.0f,
double  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 Fri Jul 16 09:07:38 2010 for Board by  doxygen 1.6.3