Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes

NR::IRect Class Reference

Collaboration diagram for NR::IRect:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool contains (const IRect &r) const
bool contains (const IPoint &p) const
IPoint dimensions () const
void expandTo (IPoint p)
void expandTo (const IRect &r)
ICoord extent (Dim2 axis) const
ICoord extent (unsigned i) const throw (std::out_of_range)
bool intersects (const IRect &r) const
 IRect (const IRect &r)
 IRect (const Rect &r)
 IRect (const NRRectL &r)
 IRect (const IPoint &p0, const IPoint &p1)
bool isEmpty () const
const IPointmax () const
ICoord maxExtent () const
const IPointmin () const
void offset (IPoint p)
 operator Rect ()
bool operator!= (const IRect &other) const
bool operator== (const IRect &other) const

Static Public Member Functions

static boost::optional< IRectintersection (const IRect &a, const IRect &b)
static IRect union_bounds (const IRect &a, const IRect &b)

Private Member Functions

template<Dim2 axis>
bool contains (const IRect &r) const
template<Dim2 axis>
bool contains (const IPoint &p) const
template<NR::Dim2 axis>
ICoord extent () const
template<Dim2 axis>
bool intersects (const IRect &r) const
template<Dim2 axis>
bool isEmpty () const

Private Attributes

IPoint _max
IPoint _min

Detailed Description

Definition at line 18 of file nr-rect-l.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index