00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plfilterresizebilinear.h,v 1.3 2002/02/24 13:00:48 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #ifndef FILTERResizeBILINEAR_H 00012 #define FILTERResizeBILINEAR_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 bilinear interpolation. This is the best-optimized 00021 //! of the resize filters. 00022 class PLFilterResizeBilinear : public PLFilterResize 00023 { 00024 public: 00025 PLFilterResizeBilinear (int NewXSize, int NewYSize); 00026 virtual void Apply(PLBmp * pBmpSource, PLBmp * pBmpDest) const; 00027 }; 00028 00029 #endif 00030 00031 /* 00032 /-------------------------------------------------------------------- 00033 | 00034 | $Log: plfilterresizebilinear.h,v $ 00035 | Revision 1.3 2002/02/24 13:00:48 uzadow 00036 | Documentation update; removed buggy PLFilterRotate. 00037 | 00038 | Revision 1.2 2001/09/16 20:57:17 uzadow 00039 | Linux version name prefix changes 00040 | 00041 | Revision 1.1 2001/09/16 19:03:23 uzadow 00042 | Added global name prefix PL, changed most filenames. 00043 | 00044 | Revision 1.3 2001/01/15 15:05:31 uzadow 00045 | Added PLBmp::ApplyFilter() and PLBmp::CreateFilteredCopy() 00046 | 00047 | Revision 1.2 1999/11/27 18:45:49 Ulrich von Zadow 00048 | Added/Updated doc comments. 00049 | 00050 | Revision 1.1 1999/10/21 16:05:18 Ulrich von Zadow 00051 | Moved filters to separate directory. Added Crop, Grayscale and 00052 | GetAlpha filters. 00053 | 00054 | Revision 1.1 1999/10/19 21:29:45 Ulrich von Zadow 00055 | Added filters. 00056 | 00057 | 00058 \-------------------------------------------------------------------- 00059 */