RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwGetUserDrawSize(RwUserDraw *userdraw, RwInt32 *width, RwInt32 *height);

Description

Retrieves the width and height (in viewport space units) of the user-draw.

Arguments

userdraw Pointer to the user-draw.

width Pointer to the integer that will receive the width of the user-draw (in viewport space units).

height Pointer to the integer that will receive the height of the user-draw (in viewport space units).

Return Value

The argument userdraw if successful, and NULL otherwise.

See Also

RwCreateUserDraw()

RwSetUserDrawSize()