Method

GeglBufferclear

Declaration [src]

void
gegl_buffer_clear (
  GeglBuffer* buffer,
  const GeglRectangle* roi
)

Description [src]

Clears the provided rectangular region by setting all the associated memory to 0.

Parameters

roi

Type: GeglRectangle

A rectangular region.

The data is owned by the caller of the function.