Region.shrink

Warning gdk_region_shrink has been deprecated since version 2.22 and should not be used in newly-written code. There is no replacement for this function. Resizes a region by the specified amount. Positive values shrink the region. Negative values expand it.

class Region
void
shrink
(
int dx
,
int dy
)

Parameters

dx int

the number of pixels to shrink the region horizontally

dy int

the number of pixels to shrink the region vertically

Meta