API Version: 13
Library Version: 13
Generated by gi-docgen 2023.1
struct MtkRectangle { int x; int y; int width; int height; }
x
X coordinate of the top-left corner.
y
Y coordinate of the top-left corner.
width
Width of the rectangle.
height
Height of the rectangle.
Creates a new rectangle.
Compares the two rectangles.
Similar to mtk_rectangle_overlap() but ignores the vertical location.
mtk_rectangle_overlap()
Find the intersection between the two rectangles.
Similar to mtk_rectangle_intersect() but doesn’t provide the location of the intersection.
mtk_rectangle_intersect()
Computes the union of the two rectangles.
Similar to mtk_rectangle_overlap() but ignores the horizontal location.
Content