krita/image

KisColorTransformationFilter Class Reference

This is a base class for filters that implement a filter for KoColorTransformation based filters. More...

#include <kis_color_transformation_filter.h>

Inheritance diagram for KisColorTransformationFilter:

List of all members.

Public Member Functions

 KisColorTransformationFilter (const KoID &id, const KoID &category, const QString &entry)
virtual ~KisColorTransformationFilter ()
virtual KoColorTransformation * createTransformation (const KoColorSpace *cs, const KisFilterConfiguration *config) const =0
virtual void process (KisConstProcessingInformation src, KisProcessingInformation dst, const QSize &size, const KisFilterConfiguration *config, KoUpdater *progressUpdater) const

Detailed Description

This is a base class for filters that implement a filter for KoColorTransformation based filters.

Definition at line 30 of file kis_color_transformation_filter.h.


Constructor & Destructor Documentation

KisColorTransformationFilter::KisColorTransformationFilter ( const KoID &  id,
const KoID &  category,
const QString entry 
)

Definition at line 37 of file kis_color_transformation_filter.cc.

KisColorTransformationFilter::~KisColorTransformationFilter (  )  [virtual]

Definition at line 41 of file kis_color_transformation_filter.cc.


Member Function Documentation

virtual KoColorTransformation* KisColorTransformationFilter::createTransformation ( const KoColorSpace cs,
const KisFilterConfiguration config 
) const [pure virtual]

Create the color transformation that will be applied on the device.

void KisColorTransformationFilter::process ( KisConstProcessingInformation  src,
KisProcessingInformation  dst,
const QSize size,
const KisFilterConfiguration config,
KoUpdater *  progressUpdater 
) const [virtual]

Override this function with the implementation of your filter.

XXX: May the filter may assume that src and dst have the same colorspace? (bsar)

Parameters:
src the source paint device
dst the destination paint device
size the size of the area that is filtered
config the parameters of the filter
progressUpdater to pass on the progress the filter is making

Implements KisFilter.

Definition at line 45 of file kis_color_transformation_filter.cc.


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