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.

See also: vips_region_prepare().

This function is not directly available to language bindings

Parameters

R -
 

A VipsRegion.

X -
 

X coordinate.

Y -
 

Y coordinate.