BlendEffect::BlendEffect() : KFilterEffect(BlendEffectId, i18n("Blend")) , m_blendMode(Normal) { setRequiredInputCount(2); setMaximalInputCount(2); }
CompositeEffect::CompositeEffect() : KoFilterEffect(CompositeEffectId, i18n("Composite")) , m_operation(CompositeOver) { setRequiredInputCount(2); setMaximalInputCount(2); memset(m_k, 0, 4*sizeof(qreal)); }
MergeEffect::MergeEffect() : KFilterEffect(MergeEffectId, i18n("Merge")) { setRequiredInputCount(2); setMaximalInputCount(INT_MAX); }
ImageEffect::ImageEffect() : KoFilterEffect(ImageEffectId, i18n("Image")) { setRequiredInputCount(0); setMaximalInputCount(0); }