graphics.hlp (
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►
────────────────────────────────────────────────────────────────────────────
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).
The _getgtextvector function gets the current orientation for font
text output.
Return Value
The _getgtextvector and _setgtextvector functions return 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.
-♦-