FX::FXRectangle Class Reference

#include <FXRectangle.h>

List of all members.


Detailed Description

Rectangle.

Definition at line 37 of file FXRectangle.h.

Public Member Functions

 FXRectangle ()
 FXRectangle (FXshort xx, FXshort yy, FXshort ww, FXshort hh)
 FXRectangle (const FXPoint &p, const FXSize &s)
 FXRectangle (const FXPoint &topleft, const FXPoint &bottomright)
bool empty () const
bool operator! () const
bool operator== (const FXRectangle &r) const
bool operator!= (const FXRectangle &r) const
bool operator< (const FXRectangle &r) const
bool operator> (const FXRectangle &r) const
bool contains (const FXPoint &p) const
bool contains (FXshort xx, FXshort yy) const
bool contains (const FXRectangle &r) const
FXRectanglemove (const FXPoint &p)
FXRectanglemove (FXshort dx, FXshort dy)
FXRectanglegrow (FXshort margin)
FXRectanglegrow (FXshort hormargin, FXshort vermargin)
FXRectanglegrow (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin)
FXRectangleshrink (FXshort margin)
FXRectangleshrink (FXshort hormargin, FXshort vermargin)
FXRectangleshrink (FXshort leftmargin, FXshort rightmargin, FXshort topmargin, FXshort bottommargin)
FXPoint tl () const
FXPoint tr () const
FXPoint bl () const
FXPoint br () const
FXRectangleoperator= (const FXRectangle &r)
FXRectangleset (const FXRectangle &r)
FXRectangleset (const FXPoint &p, const FXSize &s)
FXRectangleset (const FXPoint &topleft, const FXPoint &bottomright)
FXRectangleset (FXshort xx, FXshort yy, FXshort ww, FXshort hh)
FXRectangleoperator+= (const FXRectangle &r)
FXRectangleoperator *= (const FXRectangle &r)
FXRectangle operator+ (const FXRectangle &r) const
FXRectangle operator * (const FXRectangle &r) const

Public Attributes

FXshort x
FXshort y
FXshort w
FXshort h

Friends

bool overlap (const FXRectangle &a, const FXRectangle &b)
FXAPI FXStreamoperator<< (FXStream &store, const FXRectangle &r)
FXAPI FXStreamoperator>> (FXStream &store, FXRectangle &r)


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:35:53 2009 for TnFOX by doxygen v1.4.7