00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfilterresizebox.h,v 1.5 2002/02/24 13:00:48 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef FILTERResizeBOX_H 00012 #define FILTERResizeBOX_H 00013 00014 #if _MSC_VER >= 1000 00015 #pragma once 00016 #endif // _MSC_VER >= 1000 00017 00018 #include "plfilterresize.h" 00019 00020 //! Resizes a 32 bpp bitmap using a box filter to calculate results. 00021 class PLFilterResizeBox : public PLFilterResize 00022 { 00023 public: 00024 //! 00025 PLFilterResizeBox (int NewXSize, int NewYSize); 00026 //! 00027 virtual void Apply(PLBmp * pBmpSource, PLBmp * pBmpDest) const; 00028 00029 private: 00030 }; 00031 00032 #endif 00033 00034 /* 00035 /-------------------------------------------------------------------- 00036 | 00037 | $Log: plfilterresizebox.h,v $ 00038 | Revision 1.5 2002/02/24 13:00:48 uzadow 00039 | Documentation update; removed buggy PLFilterRotate. 00040 | 00041 | Revision 1.4 2001/09/30 16:57:26 uzadow 00042 | Improved speed of 2passfilter.h, code readability changes. 00043 | 00044 | Revision 1.3 2001/09/28 19:50:56 uzadow 00045 | Added some 24 bpp stuff & other minor features. 00046 | 00047 | Revision 1.2 2001/09/16 20:57:17 uzadow 00048 | Linux version name prefix changes 00049 | 00050 | Revision 1.1 2001/09/16 19:03:23 uzadow 00051 | Added global name prefix PL, changed most filenames. 00052 | 00053 | Revision 1.3 2001/01/15 15:05:31 uzadow 00054 | Added PLBmp::ApplyFilter() and PLBmp::CreateFilteredCopy() 00055 | 00056 | Revision 1.2 1999/11/27 18:45:49 Ulrich von Zadow 00057 | Added/Updated doc comments. 00058 | 00059 | Revision 1.1 1999/10/21 16:05:18 Ulrich von Zadow 00060 | Moved filters to separate directory. Added Crop, Grayscale and 00061 | GetAlpha filters. 00062 | 00063 | Revision 1.1 1999/10/19 21:29:45 Ulrich von Zadow 00064 | Added filters. 00065 | 00066 | 00067 \-------------------------------------------------------------------- 00068 */