Add a doc comment for gsk_rounded_rect_is_circular

This commit is contained in:
Matthias Clasen 2021-06-04 08:44:37 -04:00
parent 4c9bd6ed9a
commit e437c55142

View File

@ -310,7 +310,17 @@ gsk_rounded_rect_scale_affine (GskRoundedRect *dest,
}
}
/* XXX: Find a better name */
/*<private>
* gsk_rounded_rect_is_circular:
* @self: the `GskRoundedRect` to check
*
* Checks if all corners of @self are quarter-circles (as
* opposed to quarter-ellipses).
*
* Note that different corners can still have different radii.
*
* Returns: %TRUE if the rectangle is circular.
*/
gboolean
gsk_rounded_rect_is_circular (const GskRoundedRect *self)
{