C Language and Libraries Help (clang.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
_setgtextvector
◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back►
─────Run-Time Library───────────────────────────────────────────────────────
The _setgtextvector function sets the current orientation for font
text output to the vector specified by <x> and <y>. The current
orientation is used in calls to the _outgtext function.
The values of <x> and <y> define the vector, which determines the
rotation direction of font text on the screen. The text rotation
options are shown below:
(x, y) Text Orientation
(0,0) Unchanged
(1,0) Horizontal text (default)
(0,1) Rotated 90 degrees counterclockwise
(-1,0) Rotated 180 degrees
(0,-1) Rotated 270 degrees counterclockwise
If other values are input, only the sign of the input is used. For
example, (-3,0) is interpreted as (-1,0).
Return Value
The _setgtextvector function returns the previous vector in a
structure of type _xycoord. If you pass the _setgtextvector
function the values (0, 0), the function returns the current
vector values in the _xycoord structure.
See: _xycoord
-♦-