expandScalar

fun expandScalar(scalar: Float, res: Box)

Expands the dimensions of @box by the given @scalar value.

If @scalar is positive, the #graphene_box_t will grow; if @scalar is negative, the #graphene_box_t will shrink.

Since

1.2

Parameters

scalar

a scalar value

res

return location for the expanded box