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

If the alpha is beyond a certain threshold, make it fully transparent. More...

#include <BitmapAlphaClampFilter.hxx>

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

Public Member Functions

 BitmapAlphaClampFilter (sal_uInt8 cThreshold)
 
virtual BitmapEx execute (BitmapEx const &rBitmapEx) const override
 
- Public Member Functions inherited from BitmapFilter
 BitmapFilter ()
 
virtual ~BitmapFilter ()
 
virtual BitmapEx execute (BitmapEx const &rBitmapEx) const =0
 

Private Attributes

sal_uInt8 mcThreshold
 

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

If the alpha is beyond a certain threshold, make it fully transparent.

Definition at line 18 of file BitmapAlphaClampFilter.hxx.

Constructor & Destructor Documentation

◆ BitmapAlphaClampFilter()

BitmapAlphaClampFilter::BitmapAlphaClampFilter ( sal_uInt8  cThreshold)
inline

Definition at line 21 of file BitmapAlphaClampFilter.hxx.

Member Function Documentation

◆ execute()

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

Member Data Documentation

◆ mcThreshold

sal_uInt8 BitmapAlphaClampFilter::mcThreshold
private

Definition at line 29 of file BitmapAlphaClampFilter.hxx.

Referenced by execute().


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