文件名称: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
(系统自动生成,下载前可以参看下载内容)

下载文件列表

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

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org