LibreOffice Module vcl (master)  1
Public Member Functions | Private Attributes | List of all members
BitmapSimpleColorQuantizationFilter Class Referencefinal

#include <BitmapSimpleColorQuantizationFilter.hxx>

Inheritance diagram for BitmapSimpleColorQuantizationFilter:
[legend]
Collaboration diagram for BitmapSimpleColorQuantizationFilter:
[legend]

Public Member Functions

 BitmapSimpleColorQuantizationFilter (sal_uInt16 nNewColorCount)
 Reduce number of colors for the bitmap using the POPULAR algorithm. More...
 
virtual BitmapEx execute (BitmapEx const &rBitmapEx) const override
 
- Public Member Functions inherited from BitmapFilter
 BitmapFilter ()
 
virtual ~BitmapFilter ()
 

Private Attributes

sal_uInt16 const mnNewColorCount
 

Additional Inherited Members

- Static Public Member Functions inherited from BitmapFilter
static bool Filter (BitmapEx &rBmpEx, BitmapFilter const &rFilter)
 
static bool Filter (Animation &rBmpEx, BitmapFilter const &rFilter)
 

Detailed Description

Definition at line 16 of file BitmapSimpleColorQuantizationFilter.hxx.

Constructor & Destructor Documentation

BitmapSimpleColorQuantizationFilter::BitmapSimpleColorQuantizationFilter ( sal_uInt16  nNewColorCount)
inline

Reduce number of colors for the bitmap using the POPULAR algorithm.

Parameters
nNewColorCountMaximal number of bitmap colors after the reduce operation

Definition at line 24 of file BitmapSimpleColorQuantizationFilter.hxx.

Member Function Documentation

BitmapEx BitmapSimpleColorQuantizationFilter::execute ( BitmapEx const &  rBitmapEx) const
overridevirtual

Member Data Documentation

sal_uInt16 const BitmapSimpleColorQuantizationFilter::mnNewColorCount
private

Definition at line 32 of file BitmapSimpleColorQuantizationFilter.hxx.

Referenced by execute().


The documentation for this class was generated from the following files: