normalize_r


Description:

[ Version ( since = "1.4" ) ]
public Rect normalize_r ()

Normalizes the passed rectangle.

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

Parameters:

this

a Rect

res

the return location for the normalized rectangle