RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwSetUserDrawOffset(RwUserDraw *userdraw, RwInt32 x, RwInt32 y);

Description

Sets the X and Y offset in viewport space units relative to the alignment point of the user-draw.

Arguments

userdraw Pointer to the user-draw.

x X offset from the alignment point of the user-draw (in viewport space units).

y Y offset from the alignment point of the user-draw (in viewport space units).

Return Value

The argument userdraw if successful, and NULL otherwise.

Comments

x and y may be negative.

See Also

RwCreateUserDraw()

RwGetUserDrawOffset()