gr_settt.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 47 行
GML
47 行
.gfunc settextpath
.if '&lang' eq 'C' .do begin
void _FAR _settextpath( short path );
.do end
.el .do begin
subroutine _settextpath( path )
integer*2 path
.do end
.gfuncend
.desc begin
The &func &routine sets the current text path to have the value of the
.arg path
argument.
The text path specifies the writing direction of the text displayed
by the
.kw _grtext
&routine..
The argument can have one of the following values:
.begterm 15
.uterm PATH_RIGHT
subsequent characters are drawn to the right of the previous character
.uterm PATH_LEFT
subsequent characters are drawn to the left of the previous character
.uterm PATH_UP
subsequent characters are drawn above the previous character
.uterm PATH_DOWN
subsequent characters are drawn below the previous character
.endterm
.pp
The default value of the text path is
.id _PATH_RIGHT.
.desc end
.if '&lang' eq 'C' .do begin
.return begin
The &func &routine does not return a value.
.return end
.do end
.see begin
.seelist &function. _grtext _gettextsettings
.see end
.grexam begin eg_settx.&langsuff
.grexam output
.picture eg_settx
.grexam end
.class &grfun
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?