Point.initFromVec2

graphene.point.Point initFromVec2(graphene.vec2.Vec2 src) nothrow

Initializes p with the coordinates inside the given #graphene_vec2_t.

Parameters

srca #graphene_vec2_t

Returns

the initialized point