00001 00002 #ifndef __TRANSFORMERZOOM_H 00003 #define __TRANSFORMERZOOM_H 00004 00005 #include "Matrix.h" 00006 00007 #include "Transformer.h" 00008 00025 class TransformerZoom: public Transformer { 00026 private: 00028 float m_startY; 00036 float m_scale; 00037 00038 public: 00040 TransformerZoom(int width, int height, float scale); 00041 00047 void reshape(int width, int height); 00048 00054 void start(float x, float y); 00055 00061 const Matrix end(float x, float y); 00062 }; 00063 00064 #endif // __TRANSFORMERZOOM_H