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

PLRect Class Reference

#include <plrect.h>

List of all members.

Public Member Functions

 PLRect (int left, int top, int right, int bottom)
 PLRect (const PLPoint &TL, const PLPoint &BR)
bool operator== (const PLRect &rect) const
bool operator!= (const PLRect &rect) const
int Width () const
int Height () const
void SetWidth (int width)
void SetHeight (int height)
bool Contains (const PLPoint &pt) const
bool Contains (const PLRect &rect) const
bool Intersects (const PLRect &rect) const
void Expand (const PLRect &rect)
void Intersect (const PLRect &rect)

Public Attributes

PLPoint tl
PLPoint br

Detailed Description

Simple rectangle class. Contains all points from tl up to but not including br.

Definition at line 18 of file plrect.h.

The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:23 2004 for paintlib by doxygen 1.3.2