Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

os::Rect Class Reference

#include <rect.h>

List of all members.

Public Methods

 Rect ()
 Rect (float l, float t, float r, float b)
 Rect (const Point &cMin, const Point &cMax)
 Rect (const IRect &cRect)
 ~Rect ()
bool IsValid () const
void Invalidate (void)
bool DoIntersect (const Point &cPoint) const
bool DoIntersect (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
Rect & Floor (void)
Rect & Ceil (void)
Rect & Resize (float nLeft, float nTop, float nRight, float nBottom)
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

Description:
See also:
Author:
Kurt Skauen (kurt@atheos.cx)


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::Bounds void const [inline]
 

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

bool os::Rect::DoIntersect const Rect & cRect const [inline]
 

bool os::Rect::DoIntersect const Point & cPoint const [inline]
 

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

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

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

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

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

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

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

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

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

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

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

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

Point os::Rect::operator+ const Rect & cRect const [inline]
 

Rect os::Rect::operator+ const Point & cPoint const [inline]
 

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

Point os::Rect::operator- const Rect & cRect const [inline]
 

Rect os::Rect::operator- const Point & cPoint const [inline]
 

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

bool os::Rect::operator== const Rect & cRect const [inline]
 

Rect os::Rect::operator| const Point & cPoint const [inline]
 

Rect os::Rect::operator| const Rect & cRect const [inline]
 

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

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


Member Data Documentation

float os::Rect::bottom
 

float os::Rect::left
 

float os::Rect::right
 

float os::Rect::top
 


Generated at Tue Sep 11 15:27:52 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001