32 #ifndef DIGIKAM_DCOLOR_BLEND_H
33 #define DIGIKAM_DCOLOR_BLEND_H
74 uint Sa = alphaValue + 1;
84 uint Sa = alphaValue + 1;
94 uint Sa = 65536 - alphaValue;
104 uint Sa = 256 - alphaValue;
114 uint Da = alphaValue + 1;
123 uint Da = alphaValue + 1;
132 uint Da = alphaValue + 1;
141 uint Da = alphaValue + 1;
158 if (0xFFFF0000 &
red())
163 if (0xFFFF0000 &
green())
168 if (0xFFFF0000 &
blue())
173 if (0xFFFF0000 &
alpha())
181 if (0xFFFFFF00 &
red())
186 if (0xFFFFFF00 &
green())
191 if (0xFFFFFF00 &
blue())
196 if (0xFFFFFF00 &
alpha())
void demultiply16(int alpha)
Definition: dcolorblend.h:130
int green() const
Definition: dcolor.h:106
void setGreen(int green)
Definition: dcolor.h:131
void setAlpha(int alpha)
Definition: dcolor.h:141
void setRed(int red)
Definition: dcolor.h:126
void premultiply16(int alpha)
Definition: dcolorblend.h:112
void blendClamp8()
Definition: dcolorblend.h:179
bool sixteenBit() const
Definition: dcolor.h:121
void demultiply8(int alpha)
Definition: dcolorblend.h:139
void blendInvAlpha8(int alpha)
Definition: dcolorblend.h:102
void setBlue(int blue)
Definition: dcolor.h:136
void blendAdd(const DColor &src)
Definition: dcolorblend.h:148
void blendZero()
Definition: dcolorblend.h:64
void blendInvAlpha16(int alpha)
Definition: dcolorblend.h:92
void blendAlpha8(int alpha)
Definition: dcolorblend.h:82
void demultiply()
Definition: dcolorblend.h:50
int alpha() const
Definition: dcolor.h:116
void blendAlpha16(int alpha)
Definition: dcolorblend.h:72
void premultiply()
Definition: dcolorblend.h:38
void multiply(float factor)
Definition: dcolorblend.h:202
void blendClamp16()
Definition: dcolorblend.h:156
void premultiply8(int alpha)
Definition: dcolorblend.h:121
int blue() const
Definition: dcolor.h:111
int red() const
Definition: dcolor.h:101
Definition: datefolderview.cpp:43