Struct
VipsRect
since: 8.0
Description [src]
struct VipsRect {
int left;
int top;
int width;
int height;
}
A VipsRect is a rectangular area of pixels. This is a struct for
performing simple rectangle algebra.
Structure members
leftLeft edge of rectangle.
topTop edge of rectangle.
widthWidth of rectangle.
heightHeight of rectangle.
Available since: 8.0
Instance methods
vips_rect_intersectrect
Fill out with the intersection of r1 and r2. out can equal r1 or r2.
since: 8.0
vips_rect_normalise
Make sure width and height are >0 by moving the origin and flipping the rect.
since: 8.0