文件名称:task
介绍说明--下载内容均来自于网络,请自行研究使用
完成一个二维变换演示程序,功能如下:
黑色背景, 绘制正方形
单击鼠标左键, 正方形 逆时针旋转10度;单击鼠标右键, 正方形 顺时针旋转10度.
单击鼠标中键, 退出程序
键入’x’, 沿x轴正向平移;键入’X’, 沿x轴负向平移
键入’y’, 沿y轴正向平移;键入’Y’, 沿y轴负向平移
键入’z’, 正方形缩小2倍;键入’Z’, 正方形放大2倍
-The completion of a two-dimensional transform demo program, the following functions the: black background, draw a square the click the left mouse button, square 10 degrees counter-clockwise Right-click a square rotated 10 degrees clockwise. click the right mouse button. to quit program typing ' x' forward translation along the x-axis typing ' X' along the x-axis, the negative translation type ' y' forward translation along the y-axis typing ' Y' , the negative translation along the y axis type ' z' square narrow 2 times typing ' Z' square zoom 2 times
黑色背景, 绘制正方形
单击鼠标左键, 正方形 逆时针旋转10度;单击鼠标右键, 正方形 顺时针旋转10度.
单击鼠标中键, 退出程序
键入’x’, 沿x轴正向平移;键入’X’, 沿x轴负向平移
键入’y’, 沿y轴正向平移;键入’Y’, 沿y轴负向平移
键入’z’, 正方形缩小2倍;键入’Z’, 正方形放大2倍
-The completion of a two-dimensional transform demo program, the following functions the: black background, draw a square the click the left mouse button, square 10 degrees counter-clockwise Right-click a square rotated 10 degrees clockwise. click the right mouse button. to quit program typing ' x' forward translation along the x-axis typing ' X' along the x-axis, the negative translation type ' y' forward translation along the y-axis typing ' Y' , the negative translation along the y axis type ' z' square narrow 2 times typing ' Z' square zoom 2 times
(系统自动生成,下载前可以参看下载内容)
下载文件列表
二维变换-task.c