introspectable_get


Description:

[ CCode ( array_length_pos = 4.1 , array_length_type = "guint" ) ]
public uint8[] introspectable_get (Rectangle rect, double scale, string? format_name, AbyssPolicy repeat_mode)

Fetch a rectangular linear buffer of pixel data from the GeglBuffer.

Parameters:

this

the buffer to retrieve data from.

rect

the coordinates we want to retrieve data from.

scale

sampling scale, 1.0 = pixel for pixel 2.0 = magnify, 0.5 scale down.

format_name

the format to store data in, if NULL the format of the buffer is used.

repeat_mode

how requests outside the buffer extent are handled. Valid values: GEGL_ABYSS_NONE (abyss pixels are zeroed), GEGL_ABYSS_WHITE (abyss pixels are white), GEGL_ABYSS_BLACK (abyss pixels are black), GEGL_ABYSS_CLAMP (coordinates are clamped to the abyss rectangle), GEGL_ABYSS_LOOP (buffer contents are tiled if outside of the abyss rectangle).

data_length

The length of the returned buffer

Returns:

A copy of the requested data