Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BRect Class Reference

#include <BGraphics.h>

Collaboration diagram for BRect:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BRect (int x=0, int y=0, unsigned int width=0, unsigned int height=0)
 BRect (const BPoint &point, const BSize &size)
 BRect (const BPoint &p1, const BPoint &p2)
BPoint topLeft () const
BPoint topRight () const
BPoint bottomLeft () const
BPoint bottomRight () const
BRect insetRect (int left, int right, int top, int bottom) const
bool intersects (const BRect &r) const
void outline (BImage &img, uint16 color) const
void fill (BImage &img, uint16 color) const
bool containsPoint (const BPoint &p) const

Public Attributes

BPoint pt
BSize sz

Constructor & Destructor Documentation

BRect::BRect int    x = 0,
int    y = 0,
unsigned int    width = 0,
unsigned int    height = 0
 

BRect::BRect const BPoint   point,
const BSize   size
 

BRect::BRect const BPoint   p1,
const BPoint   p2
 


Member Function Documentation

BPoint BRect::bottomLeft   const [inline]
 

BPoint BRect::bottomRight   const [inline]
 

bool BRect::containsPoint const BPoint   p const
 

void BRect::fill BImage   img,
uint16    color
const
 

BRect BRect::insetRect int    left,
int    right,
int    top,
int    bottom
const
 

bool BRect::intersects const BRect &    r const [inline]
 

void BRect::outline BImage   img,
uint16    color
const
 

BPoint BRect::topLeft   const [inline]
 

BPoint BRect::topRight   const [inline]
 


Member Data Documentation

BPoint BRect::pt
 

BSize BRect::sz
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 29 10:00:46 2007 for DSGUI by doxygen1.3-rc3