gr_outgt.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 46 行

GML
46
字号
.gfunc outgtext
.if '&lang' eq 'C' .do begin
void _FAR _outgtext( char _FAR *text );
.do end
.el .do begin
subroutine _outgtext( text )
character*(*) text
.do end
.gfuncend
.desc begin
The &func &routine displays the character string indicated by the argument
.arg text.
The string must be terminated by a null character
.if '&lang' eq 'C' .do begin
('\0').
.do end
.el .do begin
(char(0)).
.do end
.pp
The string is displayed starting at the current position (see the
.kw _moveto
&routine) in the current color and in the currently selected font (see the
.kw _setfont
&routine).
The current position is updated to follow the displayed text.
.pp
When no font has been previously selected with
.kw _setfont,
a default font will be used.
The default font is an 8-by-8 bit-mapped font.
.im gr_text
.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. _registerfonts _unregisterfonts _setfont _getfontinfo _getgtextextent _setgtextvector _getgtextvector _outtext _outmem _grtext
.see end
.grexam begin eg_reg.&langsuff
.grexam end
.class &grfun
.system

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?