RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

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

Description

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

Arguments

userdraw Pointer to the user-draw.

width Width of the user-draw (in viewport space units).

height Height of the user-draw (in viewport space units).

Return Value

The argument userdraw if successful, and NULL otherwise.

Comments

RenderWare does not clip the user-draw’s rendering to the specified area. If rendering takes place outside of the designated area garbage may appear on the display.

See Also

RwCreateUserDraw()

RwGetUserDrawSize()