Method

VipsRegioncopy

Declaration [src]

void
vips_region_copy (
  VipsRegion* reg,
  VipsRegion* dest,
  const VipsRect* r,
  int x,
  int y
)

Description [src]

Copy from one region to another. Copy area r from inside reg to dest, positioning the area of pixels at x, y. The two regions must have pixels which are the same size.

See also: vips_region_paint().

Parameters

dest VipsRegion
 

Destination region.

 The argument will be modified by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
r VipsRect
 

VipsRect of pixels you need to copy.

 The data is owned by the caller of the function.
x int
 

Postion of r in dest.

y int
 

Postion of r in dest.