Sets our main struct and passes it to the parent class.
Checks if the given @point is inside the rounded rectangle.
Checks if the given @rect is contained inside the rounded rectangle.
Get the main Gtk struct
the main Gtk struct as a void*
Initializes the given GskRoundedRect with the given values.
Initializes @self using the given @src rectangle.
Initializes @self to the given @bounds and sets the radius of all four corners to @radius.
Checks if part of the given @rect is contained inside the rounded rectangle.
Checks if all corners of @self are right angles and the rectangle covers all of its bounds.
Normalizes the passed rectangle.
Offsets the bound's origin by @dx and @dy.
Shrinks (or grows) the given rectangle by moving the 4 sides according to the offsets given.
the main Gtk struct
A rectangular region with rounded corners.
Application code should normalize rectangles using [method@Gsk.RoundedRect.normalize]; this function will ensure that the bounds of the rectangle are normalized and ensure that the corner values are positive and the corners do not overlap.
All functions taking a GskRoundedRect as an argument will internally operate on a normalized copy; all functions returning a GskRoundedRect will always return a normalized one.
The algorithm used for normalizing corner sizes is described in the CSS specification.