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

plfiltercrop.h

00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: plfiltercrop.h,v 1.3 2002/02/11 16:45:37 uzadow Exp $
00005 |
00006 |      Copyright (c) 1996-2002 Ulrich von Zadow
00007 |
00008 \--------------------------------------------------------------------
00009 */
00010 
00011 #if !defined(INCL_PLFILTERCROP)
00012 #define INCL_PLFILTERCROP
00013 
00014 #if _MSC_VER >= 1000
00015 #pragma once
00016 #endif // _MSC_VER >= 1000
00017 
00018 #include "plfilter.h"
00019 
00020 class PLBmp;
00021 
00022 //! Filter that cuts part of the image off. XMin and YMin are included
00023 //! in the rectangle, XMax and YMax aren't.
00024 class PLFilterCrop : public PLFilter
00025 {
00026 public:
00027 
00028   //!
00029   PLFilterCrop(int XMin, int YMin, int XMax, int YMax);
00030 
00031   //!
00032   virtual ~PLFilterCrop();
00033 
00034   //!
00035   virtual void Apply(PLBmp * pBmpSource, PLBmp * pBmpDest) const;
00036 
00037 private:
00038   int m_XMin;
00039   int m_XMax;
00040   int m_YMin;
00041   int m_YMax;
00042 
00043 };
00044 
00045 #endif
00046 
00047 /*
00048 /--------------------------------------------------------------------
00049 |
00050 |      $Log: plfiltercrop.h,v $
00051 |      Revision 1.3  2002/02/11 16:45:37  uzadow
00052 |      Fixed bug decoding 16 bit per channel tiffs.
00053 |
00054 |      Revision 1.2  2001/09/30 19:55:37  uzadow
00055 |      Fixed bug for 8 bpp in PLFilterCrop.
00056 |
00057 |      Revision 1.1  2001/09/16 19:03:23  uzadow
00058 |      Added global name prefix PL, changed most filenames.
00059 |
00060 |      Revision 1.4  2001/01/15 15:05:31  uzadow
00061 |      Added PLBmp::ApplyFilter() and PLBmp::CreateFilteredCopy()
00062 |
00063 |      Revision 1.3  1999/12/08 15:39:46  Ulrich von Zadow
00064 |      Unix compatibility changes
00065 |
00066 |      Revision 1.2  1999/11/27 18:45:48  Ulrich von Zadow
00067 |      Added/Updated doc comments.
00068 |
00069 |      Revision 1.1  1999/10/21 16:05:17  Ulrich von Zadow
00070 |      Moved filters to separate directory. Added Crop, Grayscale and
00071 |      GetAlpha filters.
00072 |
00073 |      Revision 1.1  1999/10/19 21:29:44  Ulrich von Zadow
00074 |      Added filters.
00075 |
00076 |
00077 \--------------------------------------------------------------------
00078 */

Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2