Art.Global.RectListFromUta Method
Decomposes a UTA into a list of rectangles.

Syntax

public static IRect RectListFromUta (Uta uta, int max_width, int max_height, out int p_nrects)

Parameters

uta
The given UTA.
max_width
The maximum width of the resulting rectangles.
max_height
The maximum height of the resulting rectangles.
p_nrects
The number of rectangles generated. Should be an out. Its unnecessary.

Returns

It should return a IRect[]. Yup, a bug.

Remarks

This routine provides a precise implementation, meaning that the rectangles cover exactly the same are as the uta.

Requirements

Namespace: Art
Assembly: art-sharp (in art-sharp.dll)