文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
将中点Bresenham算法推广到绘制任意斜率的直线段。使用对话框输入直线的起点和终点坐标,试以屏幕中心为二维坐标系原点,绘制任意斜率的直线段。要求编制CLine类,成员函数为MoveTo()和LineTo()。对边界像素的处理原则是“起点闭区间、终点开区间”,即要求所绘直线达到VC++的MoveTo()和LineTo()函数的绘制效果。-Midpoint Bresenham algorithm will be extended to the slope of the straight line segment drawn arbitrarily. Using the dialog box to enter the line start and end coordinates, center of the screen test for the two-dimensional coordinate system origin, the slope of the straight line segment drawn arbitrarily. Requested the preparation CLine class member function MoveTo () and LineTo (). On the boundary pixel processing principle is " closed interval starting and ending open interval" that requires a straight line drawn up VC++ the MoveTo () and LineTo () function rendering results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
2
.\2.aps
.\2.clw
.\2.cpp
.\2.dsp
.\2.dsw
.\2.h
.\2.ncb
.\2.opt
.\2.plg
.\2.rc
.\2.sln
.\2.suo
.\2.vcproj
.\2.vcproj.2011-20120816PL.Administrator.user
.\2Doc.cpp
.\2Doc.h
.\2View.cpp
.\2View.h
.\ChildFrm.cpp
.\ChildFrm.h
.\Debug
.\.....\2.exe
.\.....\2.exe.embed.manifest
.\.....\2.ilk
.\.....\2.obj
.\.....\2.pch
.\.....\2.pdb
.\.....\2.res
.\.....\2Doc.obj
.\.....\2View.obj
.\.....\BuildLog.htm
.\.....\ChildFrm.obj
.\.....\MainFrm.obj
.\.....\StdAfx.obj
.\.....\vc60.idb
.\.....\vc60.pdb
.\.....\vc90.idb
.\.....\vc90.pdb
.\.....\zuobiao.obj
.\MainFrm.cpp
.\MainFrm.h
.\ReadMe.txt
.\StdAfx.cpp
.\StdAfx.h
.\res
.\...\2.ico
.\...\2.rc2
.\...\2Doc.ico
.\...\Toolbar.bmp
.\resource.h
.\zuobiao.cpp
.\zuobiao.h