Blender V2.61 - r43446
Public Member Functions | Public Attributes

RAS_Rect Class Reference

#include <RAS_Rect.h>

List of all members.

Public Member Functions

 RAS_Rect ()
int GetWidth () const
int GetHeight () const
int GetLeft () const
int GetRight () const
int GetBottom () const
int GetTop () const
void SetLeft (int x1)
void SetBottom (int y1)
void SetRight (int x2)
void SetTop (int y2)

Public Attributes

int m_x1
int m_y1
int m_x2
int m_y2

Detailed Description

class.

RAS_Rect just encodes a simple rectangle.

Note:
Should be part of a generic library

Definition at line 44 of file RAS_Rect.h.


Constructor & Destructor Documentation

RAS_Rect::RAS_Rect ( ) [inline]

Definition at line 51 of file RAS_Rect.h.


Member Function Documentation

int RAS_Rect::GetBottom ( ) const [inline]
int RAS_Rect::GetHeight ( ) const [inline]
int RAS_Rect::GetLeft ( ) const [inline]
int RAS_Rect::GetRight ( ) const [inline]
int RAS_Rect::GetTop ( ) const [inline]
int RAS_Rect::GetWidth ( ) const [inline]
void RAS_Rect::SetBottom ( int  y1) [inline]
void RAS_Rect::SetLeft ( int  x1) [inline]
void RAS_Rect::SetRight ( int  x2) [inline]
void RAS_Rect::SetTop ( int  y2) [inline]

Member Data Documentation

Definition at line 47 of file RAS_Rect.h.

Referenced by GetLeft(), GetWidth(), and SetLeft().

Definition at line 48 of file RAS_Rect.h.

Referenced by GetRight(), GetWidth(), and SetRight().

Definition at line 47 of file RAS_Rect.h.

Referenced by GetBottom(), GetHeight(), and SetBottom().

Definition at line 48 of file RAS_Rect.h.

Referenced by GetHeight(), GetTop(), and SetTop().


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