RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

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

Description

Retrieves the user-draw’s offset (in viewport space units) from the alignment point of the user-draw.

Arguments

userdraw Pointer to the user-draw.

x Pointer to the integer that will receive the horizontal offset from the alignment point of the user-draw (in viewport space units).

y Pointer to the integer that will receive the vertical offset from the alignment point of the user-draw (in viewport space units).

Return Value

The argument userdraw if successful, and NULL otherwise.

See Also

RwCreateUserDraw()

RwSetUserDrawOffset()