This sets the viewport of the current Render Context. Normally x and y are 0
and the width and height are just those of the control/graphics you are drawing
to.
命名空间:
DSkin.OpenGL
程序集:
DSkin (在 DSkin.dll 中) 版本:16.6.3.22
语法public void Viewport(
int x,
int y,
int width,
int height
)
参数
- x
- 类型:SystemInt32
Top-Left point of the viewport. - y
- 类型:SystemInt32
Top-Left point of the viewport. - width
- 类型:SystemInt32
Width of the viewport. - height
- 类型:SystemInt32
Height of the viewport.
参见