文件名称:CG
- 所属分类:
- 图形图象
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1.87mb
- 下载次数:
- 0次
- 提 供 者:
- 王*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
利用用户用鼠标输入三个点,以这三个点为顶点画一个三角形,再以三条边中点为顶点画新三角形。新三角形和原三角形围成三个三角形区域。对这三个区域分别再作上述操作直到三角形达到一定小。
输入一个点之后,以输入点和鼠标当前点点为端点画线段,线段随鼠标移动而移动。输入两个点之后,以输入的两个点和鼠标当前位置为顶点直接生成三角形,三角形随鼠标移动而改变形状。输入三个点之后三角形确定形状。再次输入点之后清除以前的三角形,重新生成。
三角形着色:对于初始三角形,设三个顶点分别为红,蓝,绿三色。图形内的小三角形根据距这三个点的距离确定颜色是偏向红,蓝还是绿。
-
The use of user input with the mouse three points to these three points, draw a triangle for the vertex, and then to three sides of a mid-point of the new triangle vertex painting. The new triangle and the original triangle area surrounded by three triangles. Each of these three areas for further action until the triangle above a certain little.
Enter a point after point and the mouse to enter the current bit of painting for the end-point segment, segment with the mouse while mobile. After the two-point input to input two points and the mouse current position is directly generate triangle vertices, triangle with the mouse to change the shape. Enter three points determine the shape of a triangle after. Re-enter the point of the triangle removed before re-generated.
Triangle coloring: For the initial triangle, located three vertices, respectively red, blue and green. Graphics within a small triangle of these three points, according to the distance from the determined color is biased
输入一个点之后,以输入点和鼠标当前点点为端点画线段,线段随鼠标移动而移动。输入两个点之后,以输入的两个点和鼠标当前位置为顶点直接生成三角形,三角形随鼠标移动而改变形状。输入三个点之后三角形确定形状。再次输入点之后清除以前的三角形,重新生成。
三角形着色:对于初始三角形,设三个顶点分别为红,蓝,绿三色。图形内的小三角形根据距这三个点的距离确定颜色是偏向红,蓝还是绿。
-
The use of user input with the mouse three points to these three points, draw a triangle for the vertex, and then to three sides of a mid-point of the new triangle vertex painting. The new triangle and the original triangle area surrounded by three triangles. Each of these three areas for further action until the triangle above a certain little.
Enter a point after point and the mouse to enter the current bit of painting for the end-point segment, segment with the mouse while mobile. After the two-point input to input two points and the mouse current position is directly generate triangle vertices, triangle with the mouse to change the shape. Enter three points determine the shape of a triangle after. Re-enter the point of the triangle removed before re-generated.
Triangle coloring: For the initial triangle, located three vertices, respectively red, blue and green. Graphics within a small triangle of these three points, according to the distance from the determined color is biased
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CG\CG.APS
..\CG.clw
..\CG.cpp
..\CG.dsp
..\CG.dsw
..\CG.h
..\CG.ncb
..\CG.opt
..\CG.plg
..\CG.rc
..\CGDoc.cpp
..\CGDoc.h
..\CGView.cpp
..\CGView.h
..\Debug\CG.exe
..\.....\CG.ilk
..\.....\CG.obj
..\.....\CG.pch
..\.....\CG.pdb
..\.....\CG.res
..\.....\CGDoc.obj
..\.....\CGView.obj
..\.....\MainFrm.obj
..\.....\StdAfx.obj
..\.....\vc60.idb
..\.....\vc60.pdb
..\MainFrm.cpp
..\MainFrm.h
..\ReadMe.txt
..\res\CG.ico
..\...\CG.rc2
..\...\CGDoc.ico
..\...\Toolbar.bmp
..\Resource.h
..\StdAfx.cpp
..\StdAfx.h
..\Debug
..\res
CG
..\CG.clw
..\CG.cpp
..\CG.dsp
..\CG.dsw
..\CG.h
..\CG.ncb
..\CG.opt
..\CG.plg
..\CG.rc
..\CGDoc.cpp
..\CGDoc.h
..\CGView.cpp
..\CGView.h
..\Debug\CG.exe
..\.....\CG.ilk
..\.....\CG.obj
..\.....\CG.pch
..\.....\CG.pdb
..\.....\CG.res
..\.....\CGDoc.obj
..\.....\CGView.obj
..\.....\MainFrm.obj
..\.....\StdAfx.obj
..\.....\vc60.idb
..\.....\vc60.pdb
..\MainFrm.cpp
..\MainFrm.h
..\ReadMe.txt
..\res\CG.ico
..\...\CG.rc2
..\...\CGDoc.ico
..\...\Toolbar.bmp
..\Resource.h
..\StdAfx.cpp
..\StdAfx.h
..\Debug
..\res
CG