mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
contour: Add some debug API
Add a private way to get the class of a contour, so we can test that roundtrips through gsk_path_parse work as expected.
This commit is contained in:
parent
5f2f116c28
commit
ba3a657c48
@ -1503,6 +1503,12 @@ gsk_circle_contour_new (const graphene_point_t *center,
|
||||
/* }}} */
|
||||
/* {{{ API */
|
||||
|
||||
const char *
|
||||
gsk_contour_get_type_name (const GskContour *self)
|
||||
{
|
||||
return self->klass->type_name;
|
||||
}
|
||||
|
||||
gsize
|
||||
gsk_contour_get_size (const GskContour *self)
|
||||
{
|
||||
|
@ -37,6 +37,7 @@ GskContour * gsk_standard_contour_new (GskPathFlags
|
||||
GskContour * gsk_circle_contour_new (const graphene_point_t *center,
|
||||
float radius);
|
||||
|
||||
const char * gsk_contour_get_type_name (const GskContour *self);
|
||||
void gsk_contour_copy (GskContour * dest,
|
||||
const GskContour *src);
|
||||
GskContour * gsk_contour_dup (const GskContour *src);
|
||||
|
Loading…
Reference in New Issue
Block a user