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/C++ v10.0 : C library - <b>synopsis:</b> 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.

See Also:
    _grtext, _grtext_w, _gettextsettings

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:

    The graphical image cannot be reproduced here. See the printed
    version of the manual.

Classification:
    PC Graphics

Systems:
    DOS, QNX

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