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

PLFilterFillRect< PixelC > Class Template Reference

#include <plfilterfillrect.h>

Inheritance diagram for PLFilterFillRect< PixelC >:

PLFilter List of all members.

Public Member Functions

 PLFilterFillRect (PLPoint min, PLPoint max, const PixelC &Color)
virtual void ApplyInPlace (PLBmp *pBmp) const

Detailed Description

template<class PixelC>
class PLFilterFillRect< PixelC >

Filter that fills a rectangle in a Bitmap with a color. Works for 8, 24 and 32 bpp.

Definition at line 23 of file plfilterfillrect.h.

Member Function Documentation

template<class PixelC>
void PLFilterFillRect< PixelC >::ApplyInPlace PLBmp pBmp  )  const [virtual]

In-Place Apply. Applies the filter to pBmp. The base-class version copies the bitmap after calling Apply (pBmp, pTempBmp).

Reimplemented from PLFilter.

Definition at line 52 of file plfilterfillrect.h.

References PLBmp::GetLineArray(), PLPoint::x, and PLPoint::y.

The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2