00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfilterrotate.h,v 1.4 2003/02/27 23:01:33 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-1998 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef FILTERROTATE_H 00012 #define FILTERROTATE_H 00013 00014 #if _MSC_VER >= 1000 00015 #pragma once 00016 #endif // _MSC_VER >= 1000 00017 00018 #include "plfilter.h" 00019 00020 //! Rotates a bitmap 90, 180 or 270 degress 00021 class PLFilterRotate : public PLFilter 00022 { 00023 public: 00024 enum AngleType {ninety, oneeighty, twoseventy}; 00025 //! 00026 PLFilterRotate(AngleType); 00027 //! 00028 virtual ~PLFilterRotate(); 00029 //! 00030 virtual void Apply(PLBmp * pBmpSource, PLBmp * pBmpDest) 00031 const; 00032 private: 00033 AngleType m_Angle; 00034 }; 00035 00036 #endif 00037 00038 /* 00039 /-------------------------------------------------------------------- 00040 | 00041 | $Log: plfilterrotate.h,v $ 00042 | Revision 1.4 2003/02/27 23:01:33 uzadow 00043 | Linux version of PLFilterRotate, nicer test output 00044 | 00045 | Revision 1.3 2003/02/27 22:46:57 uzadow 00046 | Added plfilterrotate. 00047 | 00048 | Revision 1.1 2002/02/05 09:40:54 david 00049 | pavel added rotate90 filter 00050 | 00051 \-------------------------------------------------------------------- 00052 */