set_color_from_pixel


Description:

public void set_color_from_pixel (Rectangle rect, void* pixel, Object pixel_format)

Sets the region covered by rect to the the provided pixel.

Parameters:

this

a Buffer

rect

a rectangular region to fill with a color.

pixel

pointer to the data of a single pixel

pixel_format

the babl format of the pixel, if missing - the soft format of dst.




2022 vala-language.org