Krita Source Code Documentation
Loading...
Searching...
No Matches
_Private::AddRGBOps< Traits, true > Struct Template Reference

#include <KoCompositeOps.h>

Public Types

typedef Traits::channels_type channels_type
 

Static Public Member Functions

static void add (KoColorSpace *cs)
 
template<typename Functor >
static void add (KoColorSpace *cs, const QString &id, const QString &category)
 

Static Public Attributes

static const qint32 blue_pos = Traits::blue_pos
 
static const qint32 green_pos = Traits::green_pos
 
static const qint32 red_pos = Traits::red_pos
 

Detailed Description

template<class Traits>
struct _Private::AddRGBOps< Traits, true >

Definition at line 314 of file KoCompositeOps.h.

Member Typedef Documentation

◆ channels_type

template<class Traits >
typedef Traits::channels_type _Private::AddRGBOps< Traits, true >::channels_type

Definition at line 316 of file KoCompositeOps.h.

Member Function Documentation

◆ add() [1/2]

template<class Traits >
static void _Private::AddRGBOps< Traits, true >::add ( KoColorSpace * cs)
inlinestatic

Definition at line 327 of file KoCompositeOps.h.

327 {
328
332
333 add<CFTangentNormalmap<channels_type> >(cs, COMPOSITE_TANGENT_NORMALMAP , KoCompositeOp::categoryMisc());
334 add<CFReorientedNormalMapCombine<channels_type>>(cs, COMPOSITE_COMBINE_NORMAL, KoCompositeOp::categoryMisc());
335 add<CFColor<HSYType, channels_type>>(cs, COMPOSITE_COLOR, KoCompositeOp::categoryHSY());
336 add<CFHue<HSYType, channels_type>>(cs, COMPOSITE_HUE, KoCompositeOp::categoryHSY());
337 add<CFTint<HSYType, channels_type>>(cs, COMPOSITE_TINT, KoCompositeOp::categoryHSY());
338 add<CFSaturation<HSYType, channels_type>>(cs, COMPOSITE_SATURATION, KoCompositeOp::categoryHSY());
339 add<CFIncreaseSaturation<HSYType, channels_type>>(cs, COMPOSITE_INC_SATURATION, KoCompositeOp::categoryHSY());
340 add<CFDecreaseSaturation<HSYType, channels_type>>(cs, COMPOSITE_DEC_SATURATION, KoCompositeOp::categoryHSY());
341
342 add<CFLightness<HSYType,channels_type>>(cs, COMPOSITE_LUMINIZE, KoCompositeOp::categoryHSY());
343 add<CFIncreaseLightness<HSYType,channels_type>>(cs, COMPOSITE_INC_LUMINOSITY, KoCompositeOp::categoryHSY());
344 add<CFDecreaseLightness<HSYType,channels_type>>(cs, COMPOSITE_DEC_LUMINOSITY, KoCompositeOp::categoryHSY());
345
346
347 add<CFDarkerColor<HSYType, channels_type>>(cs, COMPOSITE_DARKER_COLOR, KoCompositeOp::categoryDark()); //darker color as PSD does it//
348 add<CFLighterColor<HSYType, channels_type>>(cs, COMPOSITE_LIGHTER_COLOR, KoCompositeOp::categoryLight()); //lighter color as PSD does it//
349
350 add<CFLambertLighting<HSIType,channels_type>>(cs, COMPOSITE_LAMBERT_LIGHTING, KoCompositeOp::categoryMix());
351 add<CFLambertLightingGamma2_2<HSIType, channels_type>>(cs, COMPOSITE_LAMBERT_LIGHTING_GAMMA_2_2, KoCompositeOp::categoryMix());
352
353 add<CFColor <HSIType, channels_type> >(cs, COMPOSITE_COLOR_HSI , KoCompositeOp::categoryHSI());
354 add<CFHue <HSIType, channels_type> >(cs, COMPOSITE_HUE_HSI , KoCompositeOp::categoryHSI());
355 add<CFSaturation <HSIType, channels_type> >(cs, COMPOSITE_SATURATION_HSI , KoCompositeOp::categoryHSI());
356 add<CFIncreaseSaturation<HSIType, channels_type> >(cs, COMPOSITE_INC_SATURATION_HSI, KoCompositeOp::categoryHSI());
357 add<CFDecreaseSaturation<HSIType, channels_type> >(cs, COMPOSITE_DEC_SATURATION_HSI, KoCompositeOp::categoryHSI());
358 add<CFLightness <HSIType, channels_type> >(cs, COMPOSITE_INTENSITY , KoCompositeOp::categoryHSI());
359 add<CFIncreaseLightness <HSIType, channels_type> >(cs, COMPOSITE_INC_INTENSITY , KoCompositeOp::categoryHSI());
360 add<CFDecreaseLightness <HSIType, channels_type> >(cs, COMPOSITE_DEC_INTENSITY , KoCompositeOp::categoryHSI());
361
362 add<CFColor <HSLType, channels_type> >(cs, COMPOSITE_COLOR_HSL , KoCompositeOp::categoryHSL());
363 add<CFHue <HSLType, channels_type> >(cs, COMPOSITE_HUE_HSL , KoCompositeOp::categoryHSL());
364 add<CFSaturation <HSLType, channels_type> >(cs, COMPOSITE_SATURATION_HSL , KoCompositeOp::categoryHSL());
365 add<CFIncreaseSaturation<HSLType, channels_type> >(cs, COMPOSITE_INC_SATURATION_HSL, KoCompositeOp::categoryHSL());
366 add<CFDecreaseSaturation<HSLType, channels_type> >(cs, COMPOSITE_DEC_SATURATION_HSL, KoCompositeOp::categoryHSL());
367 add<CFLightness <HSLType, channels_type> >(cs, COMPOSITE_LIGHTNESS , KoCompositeOp::categoryHSL());
368 add<CFIncreaseLightness <HSLType, channels_type> >(cs, COMPOSITE_INC_LIGHTNESS , KoCompositeOp::categoryHSL());
369 add<CFDecreaseLightness <HSLType, channels_type> >(cs, COMPOSITE_DEC_LIGHTNESS , KoCompositeOp::categoryHSL());
370
371 add<CFColor <HSVType, channels_type> >(cs, COMPOSITE_COLOR_HSV , KoCompositeOp::categoryHSV());
372 add<CFHue <HSVType, channels_type> >(cs, COMPOSITE_HUE_HSV , KoCompositeOp::categoryHSV());
373 add<CFSaturation <HSVType, channels_type> >(cs, COMPOSITE_SATURATION_HSV , KoCompositeOp::categoryHSV());
374 add<CFIncreaseSaturation<HSVType, channels_type> >(cs, COMPOSITE_INC_SATURATION_HSV, KoCompositeOp::categoryHSV());
375 add<CFDecreaseSaturation<HSVType, channels_type> >(cs, COMPOSITE_DEC_SATURATION_HSV, KoCompositeOp::categoryHSV());
376 add<CFLightness <HSVType, channels_type> >(cs, COMPOSITE_VALUE , KoCompositeOp::categoryHSV());
377 add<CFIncreaseLightness <HSVType, channels_type> >(cs, COMPOSITE_INC_VALUE , KoCompositeOp::categoryHSV());
378 add<CFDecreaseLightness <HSVType, channels_type> >(cs, COMPOSITE_DEC_VALUE , KoCompositeOp::categoryHSV());
379
380 }
const QString COMPOSITE_DEC_SATURATION_HSI
const QString COMPOSITE_INC_SATURATION
const QString COMPOSITE_LIGHTNESS
const QString COMPOSITE_SATURATION_HSI
const QString COMPOSITE_COPY_RED
const QString COMPOSITE_VALUE
const QString COMPOSITE_LIGHTER_COLOR
const QString COMPOSITE_INC_INTENSITY
const QString COMPOSITE_LAMBERT_LIGHTING_GAMMA_2_2
const QString COMPOSITE_DEC_VALUE
const QString COMPOSITE_INC_SATURATION_HSL
const QString COMPOSITE_SATURATION
const QString COMPOSITE_LAMBERT_LIGHTING
const QString COMPOSITE_INC_SATURATION_HSI
const QString COMPOSITE_HUE_HSL
const QString COMPOSITE_COPY_GREEN
const QString COMPOSITE_INC_SATURATION_HSV
const QString COMPOSITE_HUE_HSV
const QString COMPOSITE_DEC_SATURATION
const QString COMPOSITE_COPY_BLUE
const QString COMPOSITE_INC_LIGHTNESS
const QString COMPOSITE_COLOR_HSV
const QString COMPOSITE_DEC_SATURATION_HSV
const QString COMPOSITE_DEC_LIGHTNESS
const QString COMPOSITE_COLOR_HSI
const QString COMPOSITE_HUE
const QString COMPOSITE_INTENSITY
const QString COMPOSITE_DEC_LUMINOSITY
const QString COMPOSITE_COLOR_HSL
const QString COMPOSITE_COLOR
const QString COMPOSITE_TANGENT_NORMALMAP
const QString COMPOSITE_DEC_INTENSITY
const QString COMPOSITE_INC_LUMINOSITY
const QString COMPOSITE_DARKER_COLOR
const QString COMPOSITE_TINT
const QString COMPOSITE_COMBINE_NORMAL
const QString COMPOSITE_SATURATION_HSL
const QString COMPOSITE_SATURATION_HSV
const QString COMPOSITE_DEC_SATURATION_HSL
const QString COMPOSITE_INC_VALUE
const QString COMPOSITE_HUE_HSI
const QString COMPOSITE_LUMINIZE
virtual void addCompositeOp(const KoCompositeOp *op)
static QString categoryLight()
static QString categoryMisc()
static QString categoryHSI()
static QString categoryHSL()
static QString categoryHSV()
static QString categoryHSY()
static QString categoryMix()
static QString categoryDark()

References KoColorSpace::addCompositeOp(), KoCompositeOp::categoryDark(), KoCompositeOp::categoryHSI(), KoCompositeOp::categoryHSL(), KoCompositeOp::categoryHSV(), KoCompositeOp::categoryHSY(), KoCompositeOp::categoryLight(), KoCompositeOp::categoryMisc(), KoCompositeOp::categoryMix(), COMPOSITE_COLOR, COMPOSITE_COLOR_HSI, COMPOSITE_COLOR_HSL, COMPOSITE_COLOR_HSV, COMPOSITE_COMBINE_NORMAL, COMPOSITE_COPY_BLUE, COMPOSITE_COPY_GREEN, COMPOSITE_COPY_RED, COMPOSITE_DARKER_COLOR, COMPOSITE_DEC_INTENSITY, COMPOSITE_DEC_LIGHTNESS, COMPOSITE_DEC_LUMINOSITY, COMPOSITE_DEC_SATURATION, COMPOSITE_DEC_SATURATION_HSI, COMPOSITE_DEC_SATURATION_HSL, COMPOSITE_DEC_SATURATION_HSV, COMPOSITE_DEC_VALUE, COMPOSITE_HUE, COMPOSITE_HUE_HSI, COMPOSITE_HUE_HSL, COMPOSITE_HUE_HSV, COMPOSITE_INC_INTENSITY, COMPOSITE_INC_LIGHTNESS, COMPOSITE_INC_LUMINOSITY, COMPOSITE_INC_SATURATION, COMPOSITE_INC_SATURATION_HSI, COMPOSITE_INC_SATURATION_HSL, COMPOSITE_INC_SATURATION_HSV, COMPOSITE_INC_VALUE, COMPOSITE_INTENSITY, COMPOSITE_LAMBERT_LIGHTING, COMPOSITE_LAMBERT_LIGHTING_GAMMA_2_2, COMPOSITE_LIGHTER_COLOR, COMPOSITE_LIGHTNESS, COMPOSITE_LUMINIZE, COMPOSITE_SATURATION, COMPOSITE_SATURATION_HSI, COMPOSITE_SATURATION_HSL, COMPOSITE_SATURATION_HSV, COMPOSITE_TANGENT_NORMALMAP, COMPOSITE_TINT, and COMPOSITE_VALUE.

◆ add() [2/2]

template<class Traits >
template<typename Functor >
static void _Private::AddRGBOps< Traits, true >::add ( KoColorSpace * cs,
const QString & id,
const QString & category )
inlinestatic

Member Data Documentation

◆ blue_pos

template<class Traits >
const qint32 _Private::AddRGBOps< Traits, true >::blue_pos = Traits::blue_pos
static

Definition at line 320 of file KoCompositeOps.h.

◆ green_pos

template<class Traits >
const qint32 _Private::AddRGBOps< Traits, true >::green_pos = Traits::green_pos
static

Definition at line 319 of file KoCompositeOps.h.

◆ red_pos

template<class Traits >
const qint32 _Private::AddRGBOps< Traits, true >::red_pos = Traits::red_pos
static

Definition at line 318 of file KoCompositeOps.h.


The documentation for this struct was generated from the following file: