Method

MetaRectangleintersect

Declaration [src]

gboolean
meta_rectangle_intersect (
  const MetaRectangle* src1,
  const MetaRectangle* src2,
  MetaRectangle* dest
)

Description

No description available.

Parameters

src2

Type: MetaRectangle

Another MetaRectangle.

The data is owned by the caller of the function.
dest

Type: MetaRectangle

An empty MetaRectangle, to be filled with the coordinates of the intersection.

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

Return value

Type: gboolean

TRUE is some intersection exists and is not degenerate, FALSE otherwise.