Region.rectIn

Tests whether a rectangle is within a region.

Parameters

rectangle Rectangle

a GdkRectangle.

Return Value

GDK_OVERLAP_RECTANGLE_IN, GDK_OVERLAP_RECTANGLE_OUT, or GDK_OVERLAP_RECTANGLE_PART, depending on whether the rectangle is inside, outside, or partly inside the GdkRegion, respectively.

Meta