wn_text_rotation(_c)
status.i4.v = wn_text_rotation(rotation.i4.r)
status.i4.v = wn_text_rotation_c(rotation.i4.v)
This routine sets the current text rotation for graphical windows.
rotation text rotation
(WN_TEXT_LEFT_TO_RIGHT -> normal left to right text,
WN_TEXT_UP -> bottom to top text,
WN_TEXT_DOWN -> top to bottom text,
WN_TEXT_RIGHT_TO_LEFT -> right to left upside down,
CLIB_DEFAULT_ARG -> simply return the present
text rotation)
This function returns status values as follows:
CBS_INVARG invalid text rotation
otherwise previous text rotation setting
This function requires the following include files:
clib_h, cbslib_h, acnet_errors_h
Related functions:
wn_text(_c), wn_colored_text_c, wn_display_value(_c),
wn_external_text(_c), wn_external_colored_text_c,
wn_external_display_value_c, wn_text_size(_c), wn_text_attributes_c,
intro_graphics_windows
C/C++ usage:
int status;
int rotation = WN_TEXT_LEFT_TO_RIGHT;
status = wn_text_rotation_c(rotation);