Method
GeglBufferset_color_from_pixel
Declaration [src]
void
gegl_buffer_set_color_from_pixel (
GeglBuffer* buffer,
const GeglRectangle* rect,
gconstpointer pixel,
const Babl* pixel_format
)
Parameters
rect-
Type:
GeglRectangleA rectangular region to fill with a color.
The data is owned by the caller of the method. pixel-
Type:
gconstpointerPointer to the data of a single pixel.
The argument can be NULL.The data is owned by the caller of the method. pixel_format-
Type:
BablThe babl format of the pixel, if missing - the soft format of dst.
The data is owned by the caller of the method.