Function Macro

VipsREGION_ADDR

Declaration [src]

#define VIPS_REGION_ADDR (
  R,
  X,
  Y
)

Description [src]

This macro returns a pointer to a pixel in a region. The (X, Y) coordinates need to be within the VipsRect (R->valid).

If DEBUG is defined, you get a version that checks bounds for you.

::: seealso vips_region_prepare().

Parameters

R none
 

A VipsRegion

X none
 

X coordinate.

Y none
 

Y coordinate.