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

Public Member Functions

 Scale (Point const &p)
 
 Scale (Coord const x, Coord const y)
 
 Scale (Coord const s)
 
Scale inverse () const
 
bool operator!= (Scale const &o) const
 
bool operator== (Scale const &o) const
 
Coord operator[] (Dim2 const d) const
 
Coord operator[] (unsigned const d) const
 
Coordoperator[] (Dim2 const d)
 
Coordoperator[] (unsigned const d)
 

Constructor & Destructor Documentation

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

Member Function Documentation

Scale Geom::Scale::inverse ( ) const
bool Geom::Scale::operator!= ( Scale const &  o) const
bool Geom::Scale::operator== ( Scale const &  o) const
Coord Geom::Scale::operator[] ( Dim2 const  d) const
Coord Geom::Scale::operator[] ( unsigned const  d) const
Coord& Geom::Scale::operator[] ( Dim2 const  d)
Coord& Geom::Scale::operator[] ( unsigned const  d)