FX::FXExtentf Class Reference

#include <FXExtentf.h>

List of all members.


Detailed Description

Extent.

Definition at line 32 of file FXExtentf.h.

Public Member Functions

 FXExtentf ()
 FXExtentf (const FXExtentf &ext)
 FXExtentf (const FXVec2f &lo, const FXVec2f &hi)
 FXExtentf (FXfloat xlo, FXfloat xhi, FXfloat ylo, FXfloat yhi)
FXExtentfoperator= (const FXExtentf &ext)
FXVec2foperator[] (FXint i)
const FXVec2foperator[] (FXint i) const
bool operator== (const FXExtentf &ext) const
bool operator!= (const FXExtentf &ext) const
FXfloat width () const
FXfloat height () const
FXfloat longest () const
FXfloat shortest () const
FXfloat diameter () const
FXfloat radius () const
FXVec2f diagonal () const
FXVec2f center () const
bool empty () const
bool contains (FXfloat x, FXfloat y) const
bool contains (const FXVec2f &p) const
bool contains (const FXExtentf &ext) const
FXExtentfinclude (FXfloat x, FXfloat y)
FXExtentfinclude (const FXVec2f &v)
FXExtentfinclude (const FXExtentf &ext)
FXVec2f corner (FXint c) const

Public Attributes

FXVec2f lower
FXVec2f upper

Friends

FXAPI bool overlap (const FXExtentf &a, const FXExtentf &b)
FXAPI FXExtentf unite (const FXExtentf &a, const FXExtentf &b)
FXAPI FXExtentf intersect (const FXExtentf &a, const FXExtentf &b)
FXAPI FXStreamoperator<< (FXStream &store, const FXExtentf &ext)
FXAPI FXStreamoperator>> (FXStream &store, FXExtentf &ext)


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:33:39 2009 for TnFOX by doxygen v1.4.7