Function

VipsRegionWrite

Declaration

int
(* VipsRegionWrite) (
  VipsRegion* region,
  VipsRect* area,
  void* a
)

Description [src]

The function should write the pixels in area from region. a is the value passed into vips_sink_disc().

::: seealso vips_sink_disc().

Parameters

region VipsRegion
 

Get pixels from here.

 The data is owned by the caller of the function.
area VipsRect
 

Area to write.

 The data is owned by the caller of the function.
a void*
 

Client data.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: int
 

0 on success, -1 on error.