Package: graphene
Function graphene:point-alloc
Lambda Listgraphene:point-alloc () Return ValueThe newly allocated graphene:point-t instance. Details Allocates a new graphene:point-t instance.
The coordinates of the returned point are initialized to (0.0, 0.0). Use the graphene:point-free function to free the resources allocated by this
function. Examples(defun point-new (x y) (graphene:point-init (graphene:point-alloc) x y)) (defun point-copy (p) (graphene:point-init-from-point (graphene:point-alloc) p)) | See also |
2023-9-22