the X coordinate of the point
the Y coordinate of the point
Frees the resources allocated by graphene_point_alloc().
Stores the coordinates of the given #graphene_point_t into a #graphene_vec2_t.
Allocates a new #graphene_point_t structure.
The coordinates of the returned point are (0, 0).
It's possible to chain this function with graphene_point_init() or graphene_point_init_from_point(), e.g.:
graphene_point_t *
point_new (float x, float y)
{
return graphene_point_init (graphene_point_alloc (), x, y);
}
graphene_point_t *
point_copy (const graphene_point_t *p)
{
return graphene_point_init_from_point (graphene_point_alloc (), p);
}
A point with two coordinates.