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

Apply hueRotate 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_hueRotate:
[legend]
Collaboration diagram for basegfx::BColorModifier_hueRotate:
[legend]

Public Member Functions

 BColorModifier_hueRotate (double fRad)
 
virtual ~BColorModifier_hueRotate () 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 maHueMatrix
 

Additional Inherited Members

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

Detailed Description

Apply hueRotate 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 273 of file bcolormodifier.hxx.

Constructor & Destructor Documentation

◆ BColorModifier_hueRotate()

basegfx::BColorModifier_hueRotate::BColorModifier_hueRotate ( double  fRad)

Definition at line 245 of file bcolormodifier.cxx.

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

◆ ~BColorModifier_hueRotate()

basegfx::BColorModifier_hueRotate::~BColorModifier_hueRotate ( )
overridevirtual

Definition at line 261 of file bcolormodifier.cxx.

Member Function Documentation

◆ getModifiedColor()

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

◆ getModifierName()

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

Implements basegfx::BColorModifier.

Definition at line 291 of file bcolormodifier.cxx.

◆ operator==()

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

Implements basegfx::BColorModifier.

Definition at line 265 of file bcolormodifier.cxx.

References maHueMatrix.

Member Data Documentation

◆ maHueMatrix

basegfx::B3DHomMatrix basegfx::BColorModifier_hueRotate::maHueMatrix
private

Definition at line 276 of file bcolormodifier.hxx.

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


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