Quad.init

Initializes a #graphene_quad_t with the given points.

class Quad
init

Parameters

p1 Point

the first point of the quadrilateral

p2 Point

the second point of the quadrilateral

p3 Point

the third point of the quadrilateral

p4 Point

the fourth point of the quadrilateral

Return Value

Type: Quad

the initialized #graphene_quad_t

Meta