Rect Struct Reference

#include <framebuffer.h>

List of all members.

Public Member Functions

 Rect ()
 Rect (Point p, BoxSize s)
bool operator== (const Rect &r) const
 Rect objects comparation. Same meaning of operator as for built-in types.
bool operator!= (const Rect &r) const
 Negated Rect objects comparation. Same meaning of operator as for built-in types.

Public Attributes

Point at
 Object position.
BoxSize size
 Object size.


Detailed Description

2D box object description

Definition at line 114 of file framebuffer.h.


Constructor & Destructor Documentation

Rect::Rect (  )  [inline]

Create Rect object with position (0, 0) and zero size.

Definition at line 121 of file framebuffer.h.

Rect::Rect ( Point  p,
BoxSize  s 
) [inline]

Create Rect object with given size and position.

Parameters:
p Object position.
s Object size.

Definition at line 128 of file framebuffer.h.


Member Function Documentation

bool Rect::operator== ( const Rect r  )  const [inline]

Rect objects comparation. Same meaning of operator as for built-in types.

Definition at line 131 of file framebuffer.h.

References at, and size.

Referenced by operator!=().

bool Rect::operator!= ( const Rect r  )  const [inline]

Negated Rect objects comparation. Same meaning of operator as for built-in types.

Definition at line 138 of file framebuffer.h.

References operator==().


Member Data Documentation

Point Rect::at

Object position.

Definition at line 115 of file framebuffer.h.

Referenced by operator==().

BoxSize Rect::size

Object size.

Definition at line 116 of file framebuffer.h.

Referenced by operator==().


The documentation for this struct was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2