height of rectangle
left edge of rectangle
top edge of rectangle
width of rectangle
Does r
contain point (x,
y)
?
position to test for
position to test for
Is r
empty? ie. zero width or height.
Enlarge r
by n
. +1 means out one pixel.
enlarge by
Make sure width and height are >0 by moving the origin and flipping the rect.
A #VipsRect is a rectangular area of pixels. This is a struct for performing simple rectangle algebra.