os::Rect Class Reference
[The Syllable Graphical User Interface API]

Description:
More...

List of all members.

Public Member Functions

 Rect ()
 Rect (float l, float t, float r, float b)
 Rect (const Point &cMin, const Point &cMax)
 Rect (const IRect &cRect)
 ~Rect ()
Rect Scale (const Point &cFromScale, const Point &cToScale)
bool IsValid () const
void Invalidate (void)
bool DoIntersect (const Point &cPoint) const
bool DoIntersect (const Rect &cRect) const
bool Includes (const Rect &cRect) const
float Width (void) const
float Height (void) const
Point Size () const
Point LeftTop () const
Point RightBottom () const
Rect Bounds (void) const
RectFloor (void)
RectCeil (void)
RectResize (float nLeft, float nTop, float nRight, float nBottom)
RectMoveTo (float nLeft, float nTop)
Rect operator+ (const Point &cPoint) const
Rect operator- (const Point &cPoint) const
Point operator+ (const Rect &cRect) const
Point operator- (const Rect &cRect) const
Rect operator & (const Rect &cRect) const
void operator &= (const Rect &cRect)
Rect operator| (const Rect &cRect) const
void operator|= (const Rect &cRect)
Rect operator| (const Point &cPoint) const
void operator|= (const Point &cPoint)
void operator+= (const Point &cPoint)
void operator-= (const Point &cPoint)
bool operator== (const Rect &cRect) const
bool operator!= (const Rect &cRect) const

Public Attributes

float left
float top
float right
float bottom


Detailed Description

See also:
Author:
Kurt Skauen ([email protected])


Constructor & Destructor Documentation

os::Rect::Rect (  )  [inline]

os::Rect::Rect ( float  l,
float  t,
float  r,
float  b 
) [inline]

os::Rect::Rect ( const Point cMin,
const Point cMax 
) [inline]

os::Rect::Rect ( const IRect cRect  )  [inline]

os::Rect::~Rect (  )  [inline]


Member Function Documentation

Rect os::Rect::Scale ( const Point cFromScale,
const Point cToScale 
) [inline]

bool os::Rect::IsValid ( void   )  const [inline]

void os::Rect::Invalidate ( void   )  [inline]

bool os::Rect::DoIntersect ( const Point cPoint  )  const [inline]

bool os::Rect::DoIntersect ( const Rect cRect  )  const [inline]

bool os::Rect::Includes ( const Rect cRect  )  const [inline]

float os::Rect::Width ( void   )  const [inline]

float os::Rect::Height ( void   )  const [inline]

Point os::Rect::Size (  )  const [inline]

Point os::Rect::LeftTop (  )  const [inline]

Point os::Rect::RightBottom (  )  const [inline]

Rect os::Rect::Bounds ( void   )  const [inline]

Rect& os::Rect::Floor ( void   )  [inline]

Rect& os::Rect::Ceil ( void   )  [inline]

Rect& os::Rect::Resize ( float  nLeft,
float  nTop,
float  nRight,
float  nBottom 
) [inline]

Rect& os::Rect::MoveTo ( float  nLeft,
float  nTop 
) [inline]

Rect os::Rect::operator+ ( const Point cPoint  )  const [inline]

Rect os::Rect::operator- ( const Point cPoint  )  const [inline]

Point os::Rect::operator+ ( const Rect cRect  )  const [inline]

Point os::Rect::operator- ( const Rect cRect  )  const [inline]

Rect os::Rect::operator & ( const Rect cRect  )  const [inline]

void os::Rect::operator &= ( const Rect cRect  )  [inline]

Rect os::Rect::operator| ( const Rect cRect  )  const [inline]

void os::Rect::operator|= ( const Rect cRect  )  [inline]

Rect os::Rect::operator| ( const Point cPoint  )  const [inline]

void os::Rect::operator|= ( const Point cPoint  )  [inline]

void os::Rect::operator+= ( const Point cPoint  )  [inline]

void os::Rect::operator-= ( const Point cPoint  )  [inline]

bool os::Rect::operator== ( const Rect cRect  )  const [inline]

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


Member Data Documentation

float os::Rect::left

float os::Rect::top

float os::Rect::right

float os::Rect::bottom


Generated on Sat May 9 22:51:39 2009 for Syllable higlevel API by  doxygen 1.5.1