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

Apply matrix 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_matrix:
[legend]
Collaboration diagram for basegfx::BColorModifier_matrix:
[legend]

Public Member Functions

 BColorModifier_matrix (std::vector< double > aVector)
 
virtual ~BColorModifier_matrix () 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

std::vector< double > maVector
 

Additional Inherited Members

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

Detailed Description

Apply matrix 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 246 of file bcolormodifier.hxx.

Constructor & Destructor Documentation

◆ BColorModifier_matrix()

basegfx::BColorModifier_matrix::BColorModifier_matrix ( std::vector< double >  aVector)
inline

Definition at line 252 of file bcolormodifier.hxx.

◆ ~BColorModifier_matrix()

basegfx::BColorModifier_matrix::~BColorModifier_matrix ( )
overridevirtual

Definition at line 145 of file bcolormodifier.cxx.

Member Function Documentation

◆ getModifiedColor()

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

Implements basegfx::BColorModifier.

Definition at line 161 of file bcolormodifier.cxx.

References maVector.

◆ getModifierName()

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

Implements basegfx::BColorModifier.

Definition at line 195 of file bcolormodifier.cxx.

◆ operator==()

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

Implements basegfx::BColorModifier.

Definition at line 149 of file bcolormodifier.cxx.

References maVector.

Member Data Documentation

◆ maVector

std::vector<double> basegfx::BColorModifier_matrix::maVector
private

Definition at line 249 of file bcolormodifier.hxx.

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


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