Package: graphene

Function graphene:rect-normalize

Lambda List

graphene:rect-normalize (rect result)

Arguments

rect -- a graphene:rect-t instance
result -- a graphene:rect-t instance for the result

Return Value

The normalized graphene:rect-t instance.

Details

Normalizes the passed rectangle. This function ensures that the size of the rectangle is made of positive values, and that the origin is the top-left corner of the rectangle.
 

See also

2025-3-8