📄 eg_getfi.for
字号:
include 'graphapi.fi'
include 'graph.fi'
record /_fontinfo/ info
integer width
call _setvideomode( _VRES16COLOR )
call _getfontinfo( info )
call _moveto( 100, 100 )
call _outgtext( 'WATCOM Graphics'c )
width = _getgtextextent( 'WATCOM Graphics'c )
call _rectangle( _GBORDER, 100, 100,
+ 100 + width, 100 + info.pixheight )
pause
call _setvideomode( _DEFAULTMODE )
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -