Method

MtkRectangleoverlap

Declaration [src]

gboolean
mtk_rectangle_overlap (
  const MtkRectangle* rect1,
  const MtkRectangle* rect2
)

Description [src]

Similar to mtk_rectangle_intersect() but doesn’t provide the location of the intersection.

Parameters

rect2

Type: MtkRectangle

The second rectangle.

The data is owned by the caller of the method.

Return value

Type: gboolean

Whether the two rectangles overlap.