25 #ifndef DIGIKAM_DCOLOR_PIXEL_ACCESS_H
26 #define DIGIKAM_DCOLOR_PIXEL_ACCESS_H
50 unsigned short* data16 =
reinterpret_cast<unsigned short*
>(data);
62 unsigned short* data16 =
reinterpret_cast<unsigned short*
>(data);
63 data16[0] = (
unsigned short)
blue();
64 data16[1] = (
unsigned short)
green();
65 data16[2] = (
unsigned short)
red();
66 data16[3] = (
unsigned short)
alpha();
70 data[0] = (uchar)
blue();
71 data[1] = (uchar)
green();
72 data[2] = (uchar)
red();
73 data[3] = (uchar)
alpha();
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
bool sixteenBit() const
Definition: dcolor.h:121
void setBlue(int blue)
Definition: dcolor.h:136
int alpha() const
Definition: dcolor.h:116
void setPixel(uchar *const data) const
Definition: dcolorpixelaccess.h:58
int blue() const
Definition: dcolor.h:111
void setColor(uchar *const data, bool sixteenBit=false)
Definition: dcolorpixelaccess.h:37
int red() const
Definition: dcolor.h:101
Definition: datefolderview.cpp:43