文件名称:Graphics_ex1
- 所属分类:
- OpenGL
- 资源属性:
- [Windows] [Visual C] [源码] [C/C++]
- 上传时间:
- 2012-11-26
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- 2kclo*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
OpenGL演示程序。
1创建一个窗口,窗口分成四块。第一块绘制线(虚线、实线、粗线),第二块绘制多边形,第三块窗口用渐变填充多边形,第四块窗口绘制圆。
2右击每一块,则单独显示该块的内容。单独显示时,可以使用鼠标左键对显示内容进行拖动,用滚轮进行缩放。再次右击则显示四块的内容。-OpenGL demo. 1 to create a window, the window is divided into four. The first one to draw a line (dashed, solid, thick line), the second block of drawing polygons, the third block window polygon with a gradient fill, the fourth round draw block window. 2 Right-click each one, then a separate display the contents of the block. Solo show, you can use the left mouse button to drag on the display, zoom with scroll wheel. Right-click again, the content is displayed 4.
1创建一个窗口,窗口分成四块。第一块绘制线(虚线、实线、粗线),第二块绘制多边形,第三块窗口用渐变填充多边形,第四块窗口绘制圆。
2右击每一块,则单独显示该块的内容。单独显示时,可以使用鼠标左键对显示内容进行拖动,用滚轮进行缩放。再次右击则显示四块的内容。-OpenGL demo. 1 to create a window, the window is divided into four. The first one to draw a line (dashed, solid, thick line), the second block of drawing polygons, the third block window polygon with a gradient fill, the fourth round draw block window. 2 Right-click each one, then a separate display the contents of the block. Solo show, you can use the left mouse button to drag on the display, zoom with scroll wheel. Right-click again, the content is displayed 4.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
main.cpp