Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

plfilterfill.cpp

Go to the documentation of this file.
00001 /*
00002 /--------------------------------------------------------------------
00003 |
00004 |      $Id: plfilterfill.cpp,v 1.1 2004/05/21 21:02:53 maxx Exp $
00005 |
00006 \--------------------------------------------------------------------
00007 */
00008 
00009 #include "plstdpch.h"
00010 #include "plfilterfill.h"
00011 #include "plfilterfillrect.h"
00012 #include "plbitmap.h"
00013 
00014 PLFilterFill::PLFilterFill(const PLPixel32& Color)
00015   : PLFilter(),
00016     m_Color (Color)
00017 {
00018 }
00019 
00020 PLFilterFill::~PLFilterFill()
00021 {
00022 }
00023 
00024 void PLFilterFill::ApplyInPlace(PLBmp * pBmp) const
00025 {
00026   pBmp->ApplyFilter (PLFilterFillRect<PLPixel32> (PLPoint(0,0),
00027                                                 PLPoint (pBmp->GetWidth(), pBmp->GetHeight()),
00028                                                 m_Color));
00029 }
00030 
00031 /*
00032 /--------------------------------------------------------------------
00033 |
00034 |      $Log: plfilterfill.cpp,v $
00035 |      Revision 1.1  2004/05/21 21:02:53  maxx
00036 |      Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine.
00037 |
00038 |      Revision 1.1  2002/11/13 01:59:47  mspindle
00039 |      *** empty log message ***
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.1  2001/09/13 20:48:42  uzadow
00045 |      Added fill filters.
00046 |
00047 |      Revision 1.2  2001/09/13 10:39:31  uzadow
00048 |      Added FilterFillRect
00049 |
00050 |      Revision 1.1  2001/09/06 14:20:13  uzadow
00051 |      Moved FilterFill to paintlib
00052 |
00053 |      Revision 1.1.2.1  2001/09/04 11:20:40  uzadow
00054 |      Initial version: test works, no main program yet.
00055 |
00056 |
00057 \--------------------------------------------------------------------
00058 */
00059 

Generated on Wed Dec 15 21:20:30 2004 for vuVolume by  doxygen 1.3.9.1