Method

GimpDrawableget_buffer

Declaration [src]

GeglBuffer*
gimp_drawable_get_buffer (
  GimpDrawable* drawable
)

Description [src]

Returns a GeglBuffer of a specified drawable. The buffer can be used like any other GEGL buffer. Its data will we synced back with the core drawable when the buffer gets destroyed, or when gegl_buffer_flush() is called.

Available since:2.10

Return value

Returns: GeglBuffer
 

The GeglBuffer.

See Also: gimp_drawable_get_shadow_buffer()

 The caller of the method takes ownership of the data, and is responsible for freeing it.