gr_getwc.gml
来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 32 行
GML
32 行
.gfunc getwindowcoord
.if '&lang' eq 'C' .do begin
struct _wxycoord _FAR _getwindowcoord( short x, short y );
.do end
.el .do begin
record /_wxycoord/ function _getwindowcoord( x, y )
integer*2 x, y
.do end
.gfuncend
.desc begin
The &func &routine returns the window coordinates
of the position with view coordinates
.coord x y .
Window coordinates are defined by the
.kw _setwindow
&routine..
.desc end
.return begin
The &func &routine returns the window coordinates,
as a
.id _wxycoord
structure,
of the given point.
.return end
.see begin
.seelist &function. _setwindow _getviewcoord
.see end
.grexam begin eg_getwc.&langsuff
.grexam end
.class &grfun
.system
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?