bool FX::overlap ( const FXRectangle &  a,
const FXRectangle &  b 
) [inline]

Definition at line 126 of file FXRectangle.h.

References FX::FXRectangle::h, FX::FXRectangle::w, FX::FXRectangle::x, and FX::FXRectangle::y.

00126 { return b.x<a.x+a.w && b.y<a.y+a.h && a.x<b.x+b.w && a.y<b.y+b.h; }


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:32:07 2009 for TnFOX by doxygen v1.4.7