Constructor
GeglBufferintrospectable_new
Declaration [src]
GeglBuffer*
gegl_buffer_introspectable_new (
const char* format_name,
gint x,
gint y,
gint width,
gint height
)
Description [src]
Create a new GeglBuffer with the given format and dimensions.
This constructor is renamed to () in language bindings.
Parameters
format_name-
Type:
const char*The Babl format name for this buffer, e.g. “RGBA float”.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. x-
Type:
gintX origin of the buffer’s extent.
y-
Type:
gintY origin of the buffer’s extent.
width-
Type:
gintWidth of the buffer’s extent.
height-
Type:
gintHeight of the buffer’s extent.
Return value
Type: GeglBuffer
No description available.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |