Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C Library Reference - <u>synopsis:</u> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <graph.h>
    void _FAR _settextorient( short vecx, short vecy );

Description:
    The _settextorient function sets the current text orientation to the
    vector specified by the arguments (vecx,vecy).  The text orientation
    specifies the direction of the base-line vector when a text string is
    displayed with the  _grtext function.  The default text orientation, for
    normal left-to-right text, is the vector (1,0).

Returns:
    The _settextorient function does not return a value.

Example:
    #include <conio.h>
    #include <graph.h>

    main()
    {
        _setvideomode( _VRES16COLOR );
        _grtext( 200, 100, "WATCOM" );
        _settextorient( 1, 1 );
        _grtext( 200, 200, "Graphics" );
        getch();
        _setvideomode( _DEFAULTMODE );
    }

    produces the following:



Classification:
    PC Graphics

Systems:
    DOS, QNX

See Also:
    _grtext, _gettextsettings

See Also: _gettextsettings

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson