主页->库函数目录->绘图环境相关函数->window_getviewport
功能:
这个函数用于获取当前窗口可见区域。
声明:
void window_getviewport(
int *pleft,
int *ptop,
int *pright,
int *pbottom,
);
参数:
pleft
返回当前视图的左部 x 坐标。
ptop
返回当前视图的上部 y 坐标。
pright
返回当前视图的右部 x 坐标。
pbottom
返回当前视图的下部 y 坐标。
返回值:
(无)
示例:
(无)