nw::ut::Rect::SetOriginAndSize Member Function
void SetOriginAndSize(
f32 x,
f32 y,
f32 width,
f32 height
);
| Name | Description | |
|---|---|---|
| in | x | Y-coordinate of the reference point of the rectangle. |
| in | y | X-coordinate of the reference point of the rectangle. |
| in | width | Width of rectangle. |
| in | height | Height of the rectangle. |
Sets origin and the size.
CONFIDENTIAL