Function
Gimprgba_get_pixel
since: 2.10
Declaration [src]
void
gimp_rgba_get_pixel (
const GimpRGB* rgba,
const Babl* format,
gpointer pixel
)
Description [src]
Writes the red, green, blue and alpha components of rgba
to the
color stored in pixel
. The pixel format of pixel
is determined by
format
.
Available since: 2.10
Parameters
rgba
-
Type:
GimpRGB
A
GimpRGB
struct.The data is owned by the caller of the function. format
-
Type:
Babl
A Babl format.
The data is owned by the caller of the function. pixel
-
Type:
gpointer
Pointer to the destination pixel.
The argument will be set by the function. The argument can be set to NULL
by the function.The data is owned by the caller of the function.