webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
WebCore::FEConvolveMatrix Class Reference

#include <FEConvolveMatrix.h>

Inheritance diagram for WebCore::FEConvolveMatrix:
WebCore::FilterEffect WTF::RefCounted< FilterEffect > WTF::RefCounted< FilterEffect > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

IntSize kernelSize () const
 
void setKernelSize (const IntSize &)
 
const Vector< float > & kernel () const
 
void setKernel (const Vector< float > &)
 
float divisor () const
 
bool setDivisor (float)
 
float bias () const
 
bool setBias (float)
 
IntPoint targetOffset () const
 
bool setTargetOffset (const IntPoint &)
 
EdgeModeType edgeMode () const
 
bool setEdgeMode (EdgeModeType)
 
FloatPoint kernelUnitLength () const
 
bool setKernelUnitLength (const FloatPoint &)
 
bool preserveAlpha () const
 
bool setPreserveAlpha (bool)
 
void platformApplySoftware () override
 
void dump () override
 
void determineAbsolutePaintRect () override
 
TextStreamexternalRepresentation (TextStream &, int indention) const override
 
- Public Member Functions inherited from WebCore::FilterEffect
virtual ~FilterEffect ()
 
void clearResult ()
 
void clearResultsRecursive ()
 
ImageBufferasImageBuffer ()
 
PassRefPtr< Uint8ClampedArrayasUnmultipliedImage (const IntRect &)
 
PassRefPtr< Uint8ClampedArrayasPremultipliedImage (const IntRect &)
 
void copyUnmultipliedImage (Uint8ClampedArray *destination, const IntRect &)
 
void copyPremultipliedImage (Uint8ClampedArray *destination, const IntRect &)
 
FilterEffectVectorinputEffects ()
 
FilterEffectinputEffect (unsigned) const
 
unsigned numberOfEffectInputs () const
 
unsigned totalNumberOfEffectInputs () const
 
bool hasResult () const
 
FloatRect drawingRegionOfInputImage (const IntRect &) const
 
IntRect requestedRegionOfInputImageData (const IntRect &) const
 
bool isAlphaImage () const
 
void setIsAlphaImage (bool alphaImage)
 
IntRect absolutePaintRect () const
 
void setAbsolutePaintRect (const IntRect &absolutePaintRect)
 
FloatRect maxEffectRect () const
 
void setMaxEffectRect (const FloatRect &maxEffectRect)
 
void apply ()
 
void applyAll ()
 
virtual void correctFilterResultIfNeeded ()
 
virtual FilterEffectType filterEffectType () const
 
bool hasX () const
 
void setHasX (bool value)
 
bool hasY () const
 
void setHasY (bool value)
 
bool hasWidth () const
 
void setHasWidth (bool value)
 
bool hasHeight () const
 
void setHasHeight (bool value)
 
FloatRect filterPrimitiveSubregion () const
 
void setFilterPrimitiveSubregion (const FloatRect &filterPrimitiveSubregion)
 
FloatRect effectBoundaries () const
 
void setEffectBoundaries (const FloatRect &effectBoundaries)
 
Filterfilter ()
 
bool clipsToBounds () const
 
void setClipsToBounds (bool value)
 
ColorSpace operatingColorSpace () const
 
virtual void setOperatingColorSpace (ColorSpace colorSpace)
 
ColorSpace resultColorSpace () const
 
virtual void setResultColorSpace (ColorSpace colorSpace)
 
virtual void transformResultColorSpace (FilterEffect *in, const int)
 
void transformResultColorSpace (ColorSpace)
 
virtual ~FilterEffect ()
 
void clearResult ()
 
void clearResultsRecursive ()
 
ImageBufferasImageBuffer ()
 
PassRefPtr< Uint8ClampedArrayasUnmultipliedImage (const IntRect &)
 
PassRefPtr< Uint8ClampedArrayasPremultipliedImage (const IntRect &)
 
void copyUnmultipliedImage (Uint8ClampedArray *destination, const IntRect &)
 
void copyPremultipliedImage (Uint8ClampedArray *destination, const IntRect &)
 
FilterEffectVectorinputEffects ()
 
FilterEffectinputEffect (unsigned) const
 
unsigned numberOfEffectInputs () const
 
unsigned totalNumberOfEffectInputs () const
 
bool hasResult () const
 
FloatRect drawingRegionOfInputImage (const IntRect &) const
 
IntRect requestedRegionOfInputImageData (const IntRect &) const
 
bool isAlphaImage () const
 
void setIsAlphaImage (bool alphaImage)
 
IntRect absolutePaintRect () const
 
void setAbsolutePaintRect (const IntRect &absolutePaintRect)
 
FloatRect maxEffectRect () const
 
void setMaxEffectRect (const FloatRect &maxEffectRect)
 
void apply ()
 
void applyAll ()
 
virtual void correctFilterResultIfNeeded ()
 
virtual FilterEffectType filterEffectType () const
 
bool hasX () const
 
void setHasX (bool value)
 
bool hasY () const
 
void setHasY (bool value)
 
bool hasWidth () const
 
void setHasWidth (bool value)
 
bool hasHeight () const
 
void setHasHeight (bool value)
 
FloatRect filterPrimitiveSubregion () const
 
void setFilterPrimitiveSubregion (const FloatRect &filterPrimitiveSubregion)
 
FloatRect effectBoundaries () const
 
void setEffectBoundaries (const FloatRect &effectBoundaries)
 
Filterfilter ()
 
bool clipsToBounds () const
 
void setClipsToBounds (bool value)
 
ColorSpace operatingColorSpace () const
 
virtual void setOperatingColorSpace (ColorSpace colorSpace)
 
ColorSpace resultColorSpace () const
 
virtual void setResultColorSpace (ColorSpace colorSpace)
 
virtual void transformResultColorSpace (FilterEffect *in, const int)
 
void transformResultColorSpace (ColorSpace)
 
- Public Member Functions inherited from WTF::RefCounted< FilterEffect >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< FEConvolveMatrixcreate (Filter &, const IntSize &, float, float, const IntPoint &, EdgeModeType, const FloatPoint &, bool, const Vector< float > &)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::FilterEffect
 FilterEffect (Filter &)
 
ImageBuffercreateImageBufferResult ()
 
Uint8ClampedArraycreateUnmultipliedImageResult ()
 
Uint8ClampedArraycreatePremultipliedImageResult ()
 
virtual bool requiresValidPreMultipliedPixels ()
 
void forceValidPreMultipliedPixels ()
 
void clipAbsolutePaintRect ()
 
 FilterEffect (Filter &)
 
ImageBuffercreateImageBufferResult ()
 
Uint8ClampedArraycreateUnmultipliedImageResult ()
 
Uint8ClampedArraycreatePremultipliedImageResult ()
 
virtual bool requiresValidPreMultipliedPixels ()
 
void forceValidPreMultipliedPixels ()
 
void clipAbsolutePaintRect ()
 
- Protected Member Functions inherited from WTF::RefCounted< FilterEffect >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Function Documentation

◆ bias()

float WebCore::FEConvolveMatrix::bias ( ) const

◆ create()

Ref< FEConvolveMatrix > WebCore::FEConvolveMatrix::create ( Filter filter,
const IntSize kernelSize,
float  divisor,
float  bias,
const IntPoint targetOffset,
EdgeModeType  edgeMode,
const FloatPoint kernelUnitLength,
bool  preserveAlpha,
const Vector< float > &  kernelMatrix 
)
static

◆ determineAbsolutePaintRect()

void WebCore::FEConvolveMatrix::determineAbsolutePaintRect ( )
inlineoverridevirtual

Reimplemented from WebCore::FilterEffect.

◆ divisor()

float WebCore::FEConvolveMatrix::divisor ( ) const

◆ dump()

void WebCore::FEConvolveMatrix::dump ( )
overridevirtual

Implements WebCore::FilterEffect.

◆ edgeMode()

EdgeModeType WebCore::FEConvolveMatrix::edgeMode ( ) const

◆ externalRepresentation()

TextStream & WebCore::FEConvolveMatrix::externalRepresentation ( TextStream ts,
int  indention 
) const
overridevirtual

Reimplemented from WebCore::FilterEffect.

◆ kernel()

const Vector< float > & WebCore::FEConvolveMatrix::kernel ( ) const

◆ kernelSize()

IntSize WebCore::FEConvolveMatrix::kernelSize ( ) const

◆ kernelUnitLength()

FloatPoint WebCore::FEConvolveMatrix::kernelUnitLength ( ) const

◆ platformApplySoftware()

void WebCore::FEConvolveMatrix::platformApplySoftware ( )
overridevirtual

Implements WebCore::FilterEffect.

◆ preserveAlpha()

bool WebCore::FEConvolveMatrix::preserveAlpha ( ) const

◆ setBias()

bool WebCore::FEConvolveMatrix::setBias ( float  bias)

◆ setDivisor()

bool WebCore::FEConvolveMatrix::setDivisor ( float  divisor)

◆ setEdgeMode()

bool WebCore::FEConvolveMatrix::setEdgeMode ( EdgeModeType  edgeMode)

◆ setKernel()

void WebCore::FEConvolveMatrix::setKernel ( const Vector< float > &  kernel)

◆ setKernelSize()

void WebCore::FEConvolveMatrix::setKernelSize ( const IntSize kernelSize)

◆ setKernelUnitLength()

bool WebCore::FEConvolveMatrix::setKernelUnitLength ( const FloatPoint kernelUnitLength)

◆ setPreserveAlpha()

bool WebCore::FEConvolveMatrix::setPreserveAlpha ( bool  preserveAlpha)

◆ setTargetOffset()

bool WebCore::FEConvolveMatrix::setTargetOffset ( const IntPoint targetOffset)

◆ targetOffset()

IntPoint WebCore::FEConvolveMatrix::targetOffset ( ) const

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