Method

MtkRectanglehoriz_overlap

Declaration [src]

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

Description [src]

Similar to mtk_rectangle_overlap() but ignores the vertical location.

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 horizontally.