![]()  | 
  
    OGRE 14.4
    
   Object-Oriented Graphics Rendering Engine 
   | 
 
#include <OgreCommon.h>
Public Member Functions | |
| TRect () | |
| TRect (T const &l, T const &t, T const &r, T const &b) | |
| TRect (TRect const &o) | |
| T | height () const | 
| TRect | intersect (const TRect &rhs) const | 
| Returns the intersection of the two rectangles.   | |
| bool | isNull () const | 
| TRect & | merge (const TRect &rhs) | 
| bool | operator!= (const TRect &rhs) const | 
| TRect & | operator= (TRect const &o) | 
| bool | operator== (const TRect &rhs) const | 
| void | setNull () | 
| T | width () const | 
Public Attributes | |
| T | bottom | 
| T | left | 
| T | right | 
| T | top | 
      
  | 
  inline | 
      
  | 
  inline | 
References Ogre::TRect< T >::left, and Ogre::TRect< T >::right.
Referenced by Ogre::TRect< T >::isNull(), and Ogre::Font::setGlyphInfoFromTexCoords().
      
  | 
  inline | 
References Ogre::TRect< T >::bottom, and Ogre::TRect< T >::top.
Referenced by Ogre::TRect< T >::isNull(), and Ogre::Font::setGlyphInfoFromTexCoords().
      
  | 
  inline | 
References Ogre::TRect< T >::height(), and Ogre::TRect< T >::width().
Referenced by Ogre::TRect< T >::intersect(), and Ogre::TRect< T >::merge().
      
  | 
  inline | 
Returns the intersection of the two rectangles.
Note that the rectangles extend downwards. I.e. a valid box will have "right > left" and "bottom > top".
| rhs | Another rectangle. | 
References Ogre::TRect< T >::bottom, Ogre::TRect< T >::isNull(), Ogre::TRect< T >::left, Ogre::TRect< T >::right, and Ogre::TRect< T >::top.
| T Ogre::TRect< T >::left | 
| T Ogre::TRect< T >::top | 
| T Ogre::TRect< T >::right | 
| T Ogre::TRect< T >::bottom |