gr_settv.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 33 行
GML
33 行
.gfunc setgtextvector
.if '&lang' eq 'C' .do begin
struct xycoord _FAR _setgtextvector( short x, short y );
.do end
.el .do begin
record /xycoord/ function _setgtextvector( x, y )
integer*2 x, y
.do end
.gfuncend
.desc begin
The &func &routine sets the orientation for text output used by the
.kw _outgtext
&routine to the vector specified by the arguments
.coord x y .
Each of the arguments can have a value of -1, 0 or 1, allowing for
text to be displayed at any multiple of a 45-degree angle.
The default text orientation, for normal left-to-right text,
is the vector
.coord 1 0 .
.desc end
.return begin
The &func &routine returns, as an
.id xycoord
structure, the previous value of the text orientation vector.
.return end
.see begin
.seelist &function. _registerfonts _unregisterfonts _setfont _getfontinfo _outgtext _getgtextextent _getgtextvector
.see end
.grexam begin eg_gettv.&langsuff
.grexam end
.class &grfun
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?