LibreOffice Module basegfx (master) 1
Public Member Functions | Private Attributes | List of all members
basegfx::BColorModifier_saturate Class Referencefinal

Apply saturation This derivation is used for the svg importer and does exactly what SVG defines for this needed case. More...

#include <bcolormodifier.hxx>

Inheritance diagram for basegfx::BColorModifier_saturate:
[legend]
Collaboration diagram for basegfx::BColorModifier_saturate:
[legend]

Public Member Functions

 BColorModifier_saturate (double fValue)
 
virtual ~BColorModifier_saturate () override
 
virtual SAL_DLLPRIVATE bool operator== (const BColorModifier &rCompare) const override
 
virtual SAL_DLLPRIVATE ::basegfx::BColor getModifiedColor (const ::basegfx::BColor &aSourceColor) const override
 
virtual SAL_DLLPRIVATE OUString getModifierName () const override
 
- Public Member Functions inherited from basegfx::BColorModifier
virtual ~BColorModifier ()
 
virtual bool operator== (const BColorModifier &rCompare) const =0
 
bool operator!= (const BColorModifier &rCompare) const
 
virtual ::basegfx::BColor getModifiedColor (const ::basegfx::BColor &aSourceColor) const =0
 
virtual OUString getModifierName () const =0
 

Private Attributes

basegfx::B3DHomMatrix maSatMatrix
 

Additional Inherited Members

- Protected Member Functions inherited from basegfx::BColorModifier
 BColorModifier ()
 

Detailed Description

Apply saturation This derivation is used for the svg importer and does exactly what SVG defines for this needed case.

See: https://www.w3.org/TR/filter-effects/#elementdef-fecolormatrix

Definition at line 221 of file bcolormodifier.hxx.

Constructor & Destructor Documentation

◆ BColorModifier_saturate()

basegfx::BColorModifier_saturate::BColorModifier_saturate ( double  fValue)

Definition at line 200 of file bcolormodifier.cxx.

References maSatMatrix, and basegfx::B3DHomMatrix::set().

◆ ~BColorModifier_saturate()

basegfx::BColorModifier_saturate::~BColorModifier_saturate ( )
overridevirtual

Definition at line 213 of file bcolormodifier.cxx.

Member Function Documentation

◆ getModifiedColor()

basegfx::BColor basegfx::BColorModifier_saturate::getModifiedColor ( const ::basegfx::BColor aSourceColor) const
overridevirtual

◆ getModifierName()

OUString basegfx::BColorModifier_saturate::getModifierName ( ) const
overridevirtual

Implements basegfx::BColorModifier.

Definition at line 240 of file bcolormodifier.cxx.

◆ operator==()

bool basegfx::BColorModifier_saturate::operator== ( const BColorModifier rCompare) const
overridevirtual

Implements basegfx::BColorModifier.

Definition at line 217 of file bcolormodifier.cxx.

References maSatMatrix.

Member Data Documentation

◆ maSatMatrix

basegfx::B3DHomMatrix basegfx::BColorModifier_saturate::maSatMatrix
private

Definition at line 224 of file bcolormodifier.hxx.

Referenced by BColorModifier_saturate(), getModifiedColor(), and operator==().


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