Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

TransformerPan.h

Go to the documentation of this file.
00001 
00002 #ifndef __TRANSFORMERPAN_H
00003 #define __TRANSFORMERPAN_H
00004 
00005 #include "Matrix.h"
00006 
00007 #include "Transformer.h"
00008 
00022 class TransformerPan: public Transformer {
00023 private:
00025     float m_startX, m_startY;
00033     float m_scale;
00034 
00035 public:
00037     TransformerPan(int width, int height, float scale);
00038 
00044     void reshape(int width, int height);
00045 
00051     void start(float x, float y);
00052 
00058     const Matrix end(float x, float y);
00059 };
00060 
00061 #endif // __TRANSFORMERPAN_H

Generated on Mon Aug 25 23:40:57 2003 for Shadow by doxygen 1.3.2