nw::ut::Rect::SetOriginAndSize Member Function

Syntax

void SetOriginAndSize(
     f32 x,
     f32 y,
     f32 width,
     f32 height
);

Arguments

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.

Return Values

None.

Description

Sets origin and the size.


CONFIDENTIAL