DrawKit
Vector and illustration framework for Mac OS X
Public Member Functions | Public Attributes | List of all members
Geom::Translate Class Reference

Public Member Functions

 Translate (Point const &p)
 
 Translate (Coord const x, Coord const y)
 
bool operator!= (Translate const &o) const
 
bool operator== (Translate const &o) const
 
Coord operator[] (Dim2 const dim) const
 
Coord operator[] (unsigned const dim) const
 

Public Attributes

Point offset
 

Constructor & Destructor Documentation

Geom::Translate::Translate ( Point const &  p)
explicit
Geom::Translate::Translate ( Coord const  x,
Coord const  y 
)
explicit

Member Function Documentation

bool Geom::Translate::operator!= ( Translate const &  o) const
bool Geom::Translate::operator== ( Translate const &  o) const
Coord Geom::Translate::operator[] ( Dim2 const  dim) const
Coord Geom::Translate::operator[] ( unsigned const  dim) const

Member Data Documentation

Point Geom::Translate::offset