Buffer.for_backend
Description:
[ CCode ( has_construct_function = false ) ]
public Buffer.for_backend (Rectangle extent, TileBackend backend)
public Buffer.for_backend (Rectangle extent, TileBackend backend)
Create a new GeglBuffer from a backend, if NULL is passed in the extent of the buffer will be inherited from the extent of the backend.
returns a GeglBuffer, that holds a reference to the provided backend.
Parameters:
extent |
the geometry of the buffer (origin, width and height) a GeglRectangle. |
backend |
an instance of a GeglTileBackend subclass. |