Method
GeglBuffercopy
Declaration [src]
void
gegl_buffer_copy (
GeglBuffer* src,
const GeglRectangle* src_rect,
GeglAbyssPolicy repeat_mode,
GeglBuffer* dst,
const GeglRectangle* dst_rect
)
Description [src]
Copy a region from source buffer to destination buffer.
If the babl_formats of the buffers are the same, and the tile boundaries align, this will create copy-on-write tiles in the destination buffer.
This function never does any scaling. When src_rect and dst_rect do not have the same width and height, the size of src_rect is used.
Parameters
src_rect |
GeglRectangle |
Source rectangle (or NULL to copy entire source buffer) |
|
The data is owned by the caller of the function. | |
repeat_mode |
GeglAbyssPolicy |
The abyss policy to be using if src_rect is outside src’s extent. |
|
dst |
GeglBuffer |
Destination buffer. |
|
The data is owned by the caller of the function. | |
dst_rect |
GeglRectangle |
Position of upper left destination pixel (or NULL to match |
|
The data is owned by the caller of the function. |