synfig::Rect Class Reference

#include <rect.h>

List of all members.

Public Member Functions

 Rect ()
 Rect (const Point &x)
 Rect (const Point &min, const Point &max)
 Rect (const value_type &x1, const value_type &y1)
 Rect (const value_type &x1, const value_type &y1, const value_type &x2, const value_type &y2)
void set_point (const Point &max)
Rectexpand (const Point &max)
Rectexpand (const Real &r)
Rectexpand_x (const Real &r)
Rectexpand_y (const Real &r)
Rectset (const Point &min, const Point &max)
Point get_min () const
Point get_max () const
bool is_inside (const Point &x)
Real area () const
Rectoperator+= (const Vector &rhs)
Rectoperator-= (const Vector &rhs)
Rectoperator *= (const Real &rhs)
Rectoperator/= (Real rhs)
Rectoperator &= (const Rect &rhs)
Rectoperator|= (const Rect &rhs)
Rect operator+ (const Vector &rhs) const
Rect operator- (const Vector &rhs) const
Rect operator * (const Real &rhs) const
Rect operator/ (const Real &rhs) const
Rect operator & (const Rect &rhs) const
Rect operator| (const Rect &rhs) const
bool operator && (const Rect &rhs) const
bool is_valid () const

Static Public Member Functions

static Rect full_plane ()
static Rect zero ()


Constructor & Destructor Documentation

synfig::Rect::Rect  )  [inline]
 

synfig::Rect::Rect const Point x  )  [inline]
 

synfig::Rect::Rect const Point min,
const Point max
[inline]
 

synfig::Rect::Rect const value_type &  x1,
const value_type &  y1
[inline]
 

synfig::Rect::Rect const value_type &  x1,
const value_type &  y1,
const value_type &  x2,
const value_type &  y2
[inline]
 


Member Function Documentation

Rect Rect::full_plane  )  [static]
 

static Rect synfig::Rect::zero  )  [inline, static]
 

void synfig::Rect::set_point const Point max  )  [inline]
 

Rect& synfig::Rect::expand const Point max  )  [inline]
 

Rect& synfig::Rect::expand const Real r  )  [inline]
 

Rect& synfig::Rect::expand_x const Real r  )  [inline]
 

Rect& synfig::Rect::expand_y const Real r  )  [inline]
 

Rect& synfig::Rect::set const Point min,
const Point max
[inline]
 

Point synfig::Rect::get_min  )  const [inline]
 

Point synfig::Rect::get_max  )  const [inline]
 

bool synfig::Rect::is_inside const Point x  )  [inline]
 

Real synfig::Rect::area  )  const [inline]
 

Rect& synfig::Rect::operator+= const Vector rhs  )  [inline]
 

Rect& synfig::Rect::operator-= const Vector rhs  )  [inline]
 

Rect& synfig::Rect::operator *= const Real rhs  )  [inline]
 

Rect& synfig::Rect::operator/= Real  rhs  )  [inline]
 

Rect& synfig::Rect::operator &= const Rect rhs  )  [inline]
 

Rect& synfig::Rect::operator|= const Rect rhs  )  [inline]
 

Rect synfig::Rect::operator+ const Vector rhs  )  const [inline]
 

Rect synfig::Rect::operator- const Vector rhs  )  const [inline]
 

Rect synfig::Rect::operator * const Real rhs  )  const [inline]
 

Rect synfig::Rect::operator/ const Real rhs  )  const [inline]
 

Rect synfig::Rect::operator & const Rect rhs  )  const [inline]
 

Rect synfig::Rect::operator| const Rect rhs  )  const [inline]
 

bool synfig::Rect::operator && const Rect rhs  )  const [inline]
 

bool synfig::Rect::is_valid  )  const [inline]
 


The documentation for this class was generated from the following files:
Generated on Fri Jun 23 15:20:51 2006 for synfig by  doxygen 1.4.6