文件名称:计算机图形学园和椭圆的绘制
-
所属分类:
- 标签属性:
- 上传时间:2019-12-17
-
文件大小:159.62mb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
编写应用程序,利用鼠标在视图区内绘制圆和椭圆。要求在工具
条上创建两个按钮,分别代表绘制圆和绘制椭圆。实现代码中仅允许
使用 SetPixel 一种绘图函数,不可以使用其他绘图函数。
绘制图形的鼠标操作方式可自行决定,此处给出一种方式作为参
考:类似于绘制直线段,按下鼠标左键时的点假设为 P,按住鼠标左
键不放,移动鼠标到另一点处抬起鼠标左键,该点假设为 Q。绘制圆
的时候,以 P 为圆心,PQ 为圆的半径。绘制椭圆时,将 PQ 作为一个
矩形的对角线,绘制该矩形的内切椭圆。
条上创建两个按钮,分别代表绘制圆和绘制椭圆。实现代码中仅允许
使用 SetPixel 一种绘图函数,不可以使用其他绘图函数。
绘制图形的鼠标操作方式可自行决定,此处给出一种方式作为参
考:类似于绘制直线段,按下鼠标左键时的点假设为 P,按住鼠标左
键不放,移动鼠标到另一点处抬起鼠标左键,该点假设为 Q。绘制圆
的时候,以 P 为圆心,PQ 为圆的半径。绘制椭圆时,将 PQ 作为一个
矩形的对角线,绘制该矩形的内切椭圆。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : MFCApplication1.zip 列表 MFCApplication1/ MFCApplication1/.vs/ MFCApplication1/.vs/MFCApplication1/ MFCApplication1/.vs/MFCApplication1/v16/ MFCApplication1/.vs/MFCApplication1/v16/.suo MFCApplication1/.vs/MFCApplication1/v16/Browse.VC.db MFCApplication1/.vs/MFCApplication1/v16/ipch/ MFCApplication1/.vs/MFCApplication1/v16/ipch/350cf4f5e6f07bf5.ipch MFCApplication1/.vs/MFCApplication1/v16/ipch/6ba93994dec67c58.ipch MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/ MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/48d3c7f1810adbb4/ MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/48d3c7f1810adbb4/MFCAPPLICATION1.ipch MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/6a08887687259489/ MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/6a08887687259489/MFCAPPLICATION1VIEW.ipch MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/eb2f1873d241729c/ MFCApplication1/.vs/MFCApplication1/v16/ipch/AutoPCH/eb2f1873d241729c/MFCAPPLICATION1DOC.ipch MFCApplication1/Debug/ MFCApplication1/Debug/MFCApplication1.exe MFCApplication1/Debug/MFCApplication1.ilk MFCApplication1/Debug/MFCApplication1.pdb MFCApplication1/MFCApplication1/ MFCApplication1/MFCApplication1/Debug/ MFCApplication1/MFCApplication1/Debug/MFCApplication1.Build.CppClean.log MFCApplication1/MFCApplication1/Debug/MFCApplication1.log MFCApplication1/MFCApplication1/Debug/MFCApplication1.obj MFCApplication1/MFCApplication1/Debug/MFCApplication1.pch MFCApplication1/MFCApplication1/Debug/MFCApplication1.res MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/ MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/CL.command.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/CL.read.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/CL.write.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/MFCApplication1.lastbuildstate MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/link.command.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/link.read.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/link.write.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/rc.command.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/rc.read.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.tlog/rc.write.1.tlog MFCApplication1/MFCApplication1/Debug/MFCApplication1.vcxproj.FileListAbsolute.txt MFCApplication1/MFCApplication1/Debug/MFCApplication1Doc.obj MFCApplication1/MFCApplication1/Debug/MFCApplication1View.obj MFCApplication1/MFCApplication1/Debug/MainFrm.obj MFCApplication1/MFCApplication1/Debug/MapObj.obj MFCApplication1/MFCApplication1/Debug/SetColor.obj MFCApplication1/MFCApplication1/Debug/pch.obj MFCApplication1/MFCApplication1/Debug/vc142.idb MFCApplication1/MFCApplication1/Debug/vc142.pdb MFCApplication1/MFCApplication1/MFCApplication1.aps MFCApplication1/MFCApplication1/MFCApplication1.cpp MFCApplication1/MFCApplication1/MFCApplication1.h MFCApplication1/MFCApplication1/MFCApplication1.rc MFCApplication1/MFCApplication1/MFCApplication1.vcxproj MFCApplication1/MFCApplication1/MFCApplication1.vcxproj.filters MFCApplication1/MFCApplication1/MFCApplication1.vcxproj.user MFCApplication1/MFCApplication1/MFCApplication1Doc.cpp MFCApplication1/MFCApplication1/MFCApplication1Doc.h MFCApplication1/MFCApplication1/MFCApplication1View.cpp MFCApplication1/MFCApplication1/MFCApplication1View.h MFCApplication1/MFCApplication1/MainFrm.cpp MFCApplication1/MFCApplication1/MainFrm.h MFCApplication1/MFCApplication1/MapObj.cpp MFCApplication1/MFCApplication1/MapObj.h MFCApplication1/MFCApplication1/SetColor.cpp MFCApplication1/MFCApplication1/SetColor.h MFCApplication1/MFCApplication1/framework.h MFCApplication1/MFCApplication1/pch.cpp MFCApplication1/MFCApplication1/pch.h MFCApplication1/MFCApplication1/res/ MFCApplication1/MFCApplication1/res/MFCApplication1.ico MFCApplication1/MFCApplication1/res/MFCApplication1.rc2 MFCApplication1/MFCApplication1/res/MFCApplication1Doc.ico MFCApplication1/MFCApplication1/res/Toolbar.bmp MFCApplication1/MFCApplication1/resource.h MFCApplication1/MFCApplication1/targetver.h MFCApplication1/MFCApplication1.sln
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.