Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

Ogre::Rect Struct Reference

Structure used to define a rectangle in a 2-D integer space. More...

#include <OgreCommon.h>

List of all members.

Public Member Functions

 Rect ()
 Rect (long l, long t, long r, long b)
Rectoperator= (const Rect &other)

Public Attributes

long left
long top
long right
long bottom


Detailed Description

Structure used to define a rectangle in a 2-D integer space.

Definition at line 205 of file OgreCommon.h.


Constructor & Destructor Documentation

Ogre::Rect::Rect  ) 
 

Definition at line 209 of file OgreCommon.h.

Ogre::Rect::Rect long  l,
long  t,
long  r,
long  b
 

Definition at line 212 of file OgreCommon.h.

References bottom, left, right, and top.


Member Function Documentation

Rect& Ogre::Rect::operator= const Rect other  ) 
 

Definition at line 219 of file OgreCommon.h.

References bottom, left, right, and top.


Member Data Documentation

long Ogre::Rect::bottom
 

Definition at line 207 of file OgreCommon.h.

Referenced by operator=(), and Rect().

long Ogre::Rect::left
 

Definition at line 207 of file OgreCommon.h.

Referenced by operator=(), and Rect().

long Ogre::Rect::right
 

Definition at line 207 of file OgreCommon.h.

Referenced by operator=(), and Rect().

long Ogre::Rect::top
 

Definition at line 207 of file OgreCommon.h.

Referenced by operator=(), and Rect().


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

Copyright © 2000-2005 by The OGRE Team
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:00:16 2006