A rectangular region with rounded corners.
Application code should normalize rectangles using gsk.rounded_rect.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 gsk.rounded_rect.RoundedRect as an argument will internally operate on a normalized copy; all functions returning a gsk.rounded_rect.RoundedRect will always return a normalized one.
The algorithm used for normalizing corner sizes is described in the CSS specification.
the bounds of the rectangle
the size of the 4 rounded corners
A rectangular region with rounded corners.
Application code should normalize rectangles using gsk.rounded_rect.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 gsk.rounded_rect.RoundedRect as an argument will internally operate on a normalized copy; all functions returning a gsk.rounded_rect.RoundedRect will always return a normalized one.
The algorithm used for normalizing corner sizes is described in the CSS specification.