00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plinplacefilter_8h-source.html,v 1.2 2004/09/15 15:26:29 uzadow Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00011 #if !defined(INCL_PLINPLACEFILTER) 00012 #define INCL_PLINPLACEFILTER 00013 00014 #if _MSC_VER >= 1000 00015 #pragma once 00016 #endif // _MSC_VER >= 1000 00017 00018 class PLBmpBase; 00019 class PLBmp; 00020 00021 #include "plfilter.h" 00022 00023 //! Base class for filters that can operate in-place on PLBmpBase objects. 00024 class PLInPlaceFilter : public PLFilter 00025 { 00026 public: 00027 //! 00028 PLInPlaceFilter(); 00029 //! 00030 virtual ~PLInPlaceFilter() = 0; 00031 00032 //! In-Place Apply. Applies the filter to pBmp. 00033 virtual void ApplyInPlace(PLBmpBase* pBmp) const = 0; 00034 00035 //! In-Place Apply. Simply calls the version for PLBmpBase. 00036 virtual void ApplyInPlace(PLBmp* pBmp) const; 00037 }; 00038 00039 #endif 00040 /* 00041 /-------------------------------------------------------------------- 00042 | 00043 | $Log: plinplacefilter_8h-source.html,v $ 00043 | Revision 1.2 2004/09/15 15:26:29 uzadow 00043 | Linux compatibility changes, doc update. 00043 | 00044 | Revision 1.1 2004/06/20 16:59:38 uzadow 00045 | Added PLBmpBase::CopyPixels() and PLInPlaceFilter 00046 | 00047 | 00048 | 00049 \-------------------------------------------------------------------- 00050 */