Package: gsk
CStruct gsk:rounded-rect
Details
A rectangular region with rounded corners.
Application code should normalize rounded rectangles using the gsk:rounded-rect-normalize function. This function will ensure that the
bounds of the rounded rectangle are normalized and ensure that the corner
values are positive and the corners do not overlap. All functions taking a gsk:rounded-rect instance as an argument will internally operate on a normalized copy. All functions returning a gsk:rounded-rect instance will always return a normalized one. The algorithm used for normalizing corner sizes is described in the CSS specification. (cffi:defcstruct rounded-rect (bounds (:struct graphene:rect-t)) (corner (:struct graphene:size-t) :count 4))
| Slot Access FunctionsSee also |
2023-10-27