30 #ifndef PT_GFX_TRANSFORM_H 
   31 #define PT_GFX_TRANSFORM_H 
   33 #include <Pt/Gfx/Point.h> 
   34 #include <Pt/Gfx/Size.h> 
   49         bool isIdentity() 
const;
 
   65         void set(
double m11, 
double m12,
 
   66                  double m21, 
double m22,
 
   67                  double dx, 
double dy);
 
   69         void translate(
double x, 
double y);
 
   71         void scale(
double x, 
double y);
 
   73         void rotateDeg(
double angle);
 
   75         void rotateRad(
double angle);
 
   77         void shear(
double sh, 
double sv);
 
   79         void shearX(
double sh);
 
   81         void shearY(
double sh);
 
   83         bool operator==(
const Transform& t) 
const;
 
   85         bool operator!=(
const Transform& t) 
const;
 
   96       typedef double MatrixData[2][3];
 
   98       void updateMatrix(
const MatrixData& m);