Buffer
Description:
[ CCode ( has_construct_function = false ) ]
protected Buffer ()
protected Buffer ()
Create a new GeglBuffer of a given format with a given extent.
It is possible to pass in NULL for both extent and format, a NULL extent creates an empty buffer and a NULL format makes the buffer default to "RGBA float".
Parameters:
extent |
the geometry of the buffer (origin, width and height) a GeglRectangle. |
format |
the Babl pixel format to be used, create one with babl_format("RGBA u8") and similar. |