|
Krita Source Code Documentation
|
Public Member Functions | |
| QBrush | brush (const QBrush &background) const |
| QBrush | brush (const QBrush &foreground, const QBrush &background) const |
| StateEffects (QPalette::ColorGroup state, const KSharedConfigPtr &) | |
| ~StateEffects () | |
Private Types | |
| enum | Effects { Intensity = 0 , Color = 1 , Contrast = 2 , IntensityNoEffect = 0 , IntensityShade = 1 , IntensityDarken = 2 , IntensityLighten = 3 , ColorNoEffect = 0 , ColorDesaturate = 1 , ColorFade = 2 , ColorTint = 3 , ContrastNoEffect = 0 , ContrastFade = 1 , ContrastTint = 2 } |
Private Attributes | |
| double | _amount [3] |
| QColor | _color |
| int | _effects [3] |
Definition at line 18 of file kcolorscheme.cpp.
|
private |
| Enumerator | |
|---|---|
| Intensity | |
| Color | |
| Contrast | |
| IntensityNoEffect | |
| IntensityShade | |
| IntensityDarken | |
| IntensityLighten | |
| ColorNoEffect | |
| ColorDesaturate | |
| ColorFade | |
| ColorTint | |
| ContrastNoEffect | |
| ContrastFade | |
| ContrastTint | |
Definition at line 28 of file kcolorscheme.cpp.
|
explicit |
Definition at line 55 of file kcolorscheme.cpp.
References _amount, _color, _effects, Color, ColorDesaturate, ColorNoEffect, Contrast, ContrastFade, ContrastTint, Intensity, IntensityDarken, and IntensityNoEffect.
|
inline |
Definition at line 22 of file kcolorscheme.cpp.
| QBrush StateEffects::brush | ( | const QBrush & | background | ) | const |
Definition at line 90 of file kcolorscheme.cpp.
References _amount, _color, _effects, ColorDesaturate, ColorFade, ColorTint, Intensity, IntensityDarken, IntensityLighten, and IntensityShade.
| QBrush StateEffects::brush | ( | const QBrush & | foreground, |
| const QBrush & | background ) const |
Definition at line 118 of file kcolorscheme.cpp.
References _amount, _effects, brush(), Contrast, ContrastFade, and ContrastTint.
|
private |
Definition at line 50 of file kcolorscheme.cpp.
|
private |
Definition at line 51 of file kcolorscheme.cpp.
|
private |
Definition at line 49 of file kcolorscheme.cpp.