Function
Gimprectangle_intersect
since: 2.4
Declaration [src]
gboolean
gimp_rectangle_intersect (
gint x1,
gint y1,
gint width1,
gint height1,
gint x2,
gint y2,
gint width2,
gint height2,
gint* dest_x,
gint* dest_y,
gint* dest_width,
gint* dest_height
)
Parameters
x1-
Type:
gintOrigin of first rectangle.
y1-
Type:
gintOrigin of first rectangle.
width1-
Type:
gintWidth of first rectangle.
height1-
Type:
gintHeight of first rectangle.
x2-
Type:
gintOrigin of second rectangle.
y2-
Type:
gintOrigin of second rectangle.
width2-
Type:
gintWidth of second rectangle.
height2-
Type:
gintHeight of second rectangle.
dest_x-
Type:
gint*Return location for origin of intersection, or
NULL.The argument will be set by the function. The argument can be NULL. dest_y-
Type:
gint*Return location for origin of intersection, or
NULL.The argument will be set by the function. The argument can be NULL. dest_width-
Type:
gint*Return location for width of intersection, or
NULL.The argument will be set by the function. The argument can be NULL. dest_height-
Type:
gint*Return location for height of intersection, or
NULL.The argument will be set by the function. The argument can be NULL.