RwSetUserDrawAlignment(RwUserDraw
*userdraw,
RwUserDrawAlignmentTypes alignment);
Description
Sets the user-draws alignment flags. The user-draws alignment flags determine which part of the user-draws bounding box is used for alignment.
Arguments
userdraw Pointer to the user-draw.
alignment A bitfield representing a set of alignment flags.
Return Value
The argument userdraw if successful, and NULL otherwise.
Comments
The alignment flags are:
0 Center the user-draw.
rwALIGNTOP Align with the top edge of the user-draw.
rwALIGNBOTTOM Align with the bottom edge of the user-draw.
rwALIGNLEFT Align with the left edge of the user-draw.
rwALIGNRIGHT Align with the right edge of the user-draw.
See Also