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

plfiltercolorize.h

00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: plfiltercolorize_8h-source.html,v 1.1 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_PLFILTERCOLORIZE)
00012 #define INCL_PLFILTERCOLORIZE
00013 
00014 #if _MSC_VER >= 1000
00015 #pragma once
00016 #endif // _MSC_VER >= 1000
00017 
00018 #include "plinplacefilter.h"
00019 
00020 class PLBmp;
00021 
00022 //! Filter that colorizes a bitmap given a hue and saturation. Corresponds
00023 //! loosely to the photoshop hue/saturation control when set to 'colorize'.
00024 //! The range of hue is 0..359, the range of saturation is 0..100.
00025 class PLFilterColorize : public PLInPlaceFilter
00026 {
00027 public:
00028   PLFilterColorize(double Hue, double Saturation);
00029   virtual ~PLFilterColorize();
00030   virtual void ApplyInPlace(PLBmpBase * pBmp) const;
00031 
00032 private:
00033   double m_Hue;
00034   double m_Saturation;
00035 };
00036 
00037 #endif
00038 
00039 /*
00040 /--------------------------------------------------------------------
00041 |
00042 |      $Log: plfiltercolorize_8h-source.html,v $
00042 |      Revision 1.1  2004/09/15 15:26:29  uzadow
00042 |      Linux compatibility changes, doc update.
00042 |
00043 |      Revision 1.3  2004/09/12 19:23:31  uzadow
00044 |      Smaller testpics.
00045 |
00046 |      Revision 1.2  2004/08/04 16:09:19  uzadow
00047 |      *** empty log message ***
00048 |
00049 |      Revision 1.1  2004/08/04 14:53:36  uzadow
00050 |      Added PLFilterColorize.
00051 |
00052 |      Revision 1.3  2004/06/20 16:59:38  uzadow
00053 |      Added PLBmpBase::CopyPixels() and PLInPlaceFilter
00054 |
00055 |      Revision 1.2  2004/06/06 12:56:38  uzadow
00056 |      Doxygenified documentation.
00057 |
00058 |      Revision 1.1  2003/07/27 18:08:38  uzadow
00059 |      Added plfilterfliprgb
00060 |
00061 |
00062 |
00063 \--------------------------------------------------------------------
00064 */

Generated on Mon Sep 13 16:16:40 2004 for paintlib by doxygen 1.3.2