Method

VipsRectintersectrect

Declaration [src]

void
vips_rect_intersectrect (
  const VipsRect* r1,
  const VipsRect* r2,
  VipsRect* out
)

Description [src]

Fill out with the intersection of r1 and r2. out can equal r1 or r2.

Parameters

r2 VipsRect
 

Input rectangle 2

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

Output rectangle.

 The argument will be set by the function.
 The data is owned by the caller of the function.