gr_pgic.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 38 行
GML
38 行
.gfunc pg_initchart
.if '&lang' eq 'C' .do begin
short _FAR _pg_initchart( void );
.do end
.el .do begin
integer*2 function _pg_initchart()
.do end
.gfuncend
.desc begin
The &func &routine initializes the presentation graphics system.
This includes initializing the internal palette and style-set used
when drawing charts.
This &routine must be called before any of the other presentation graphics
&routines..
.pp
The initialization of the presentation graphics system requires that
a valid graphics mode has been selected.
For this reason the
.kw _setvideomode
&routine must be called before &func is called.
If a font has been selected (with the
.kw _setfont
&routine), that font will be used when text is displayed in a chart.
Font selection should also be done before initializing
the presentation graphics system.
.desc end
.return begin
The &func &routine returns zero
if successful; otherwise, a non-zero value is returned.
.return end
.see begin
.seelist &function. _pg_defaultchart _pg_chart _pg_chartpie _pg_chartscatter _setvideomode _setfont _registerfonts
.see end
.grexam begin eg_pgc.&langsuff
.grexam end
.class &grfun
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?