alloc
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); } ]|
Return
the newly allocated #graphene_point_t. Use graphene_point_free() to free the resources allocated by this function.
Since
1.0