include/board/Rect.h

Go to the documentation of this file.
00001 /* -*- mode: c++ -*- */
00010 #ifndef _BOARD_RECT_H_
00011 #define _BOARD_RECT_H_
00012 
00013 namespace BoardLib {
00014 
00019 struct Rect {
00020   float left;                   
00021   float top;                    
00022   float width;                  
00023   float height;         
00035   Rect( float left = 0.0f, float top = 0.0f, float width = 0.0f, float height = 0.0f )
00036     :left( left ), top( top ), width( width ), height( height ) { } 
00037 };
00038 
00047 Rect operator||( const Rect & rectA, const Rect & rectB );
00048 
00049 } // mamespace BoardLib
00050 
00051 #endif // _RECT_H_

Generated on Fri Aug 24 19:07:40 2007 for Board by  doxygen 1.5.1