MFC框架写的OpenGL画图小程序

时间:2014-03-31 16:00:07
【文件属性】:
文件名称:MFC框架写的OpenGL画图小程序
文件大小:116KB
文件格式:RAR
更新时间:2014-03-31 16:00:07
OpenGL 画图小程序 简单图形编辑系统 功能 绘制:直线段、多边形、圆等简单二维图形 处理:裁剪和变换 交互:参数由鼠标或键盘输入;选中并修改图形 存储:图形数据可以保存到文件中,并能读文件 要求 (1)面向对象程序设计语言 (2)构建简单几何对象类(点、线和多边形等) (3)定义合适的文件格式 (4)交互方式要通用化(参考“画笔”等绘图软件)
【文件预览】:
MFCOpenGLTest 3.10 晚修改
----Triangle.h(546B)
----MyPolygon.cpp(5KB)
----MFCOpenGLTest.dsp(7KB)
----StdAfx.cpp(215B)
----Base.cpp(626B)
----MyFillRect.h(665B)
----resource.h(2KB)
----MFCOpenGLTest.opt(92KB)
----Line.cpp(6KB)
----MyTriangle.h(1KB)
----MyTriangle.cpp(4KB)
----MFCOpenGLTest.dsw(534B)
----MyRect.h(998B)
----MyRect.cpp(4KB)
----Point.h(1020B)
----MyFillPolygon.h(663B)
----Base.h(1KB)
----FillCircle.cpp(2KB)
----MainFrm.h(2KB)
----Line.h(1KB)
----CharacterDialog.cpp(2KB)
----FillCircle.h(661B)
----MyPolygon.h(1KB)
----MFCOpenGLTest.rc(14KB)
----MFCOpenGLTestDoc.cpp(2KB)
----MyFillTriangle.h(705B)
----PaintToolBar.h(1KB)
----MFCOpenGLTestView.h(3KB)
----Triangle.cpp(552B)
----MFCOpenGLTest.h(3KB)
----ReadMe.txt(4KB)
----StdAfx.h(1KB)
----MFCOpenGLTestDoc.h(2KB)
----MFCOpenGLTest.cpp(11KB)
----Circle.h(1KB)
----MFCOpenGLTest.clw(4KB)
----MFCOpenGLTest.ncb(233KB)
----MainFrm.cpp(5KB)
----MFCOpenGLTest.plg(260B)
----Text.cpp(4KB)
----MFCOpenGLTestView.cpp(19KB)
----SizeDialog.h(1KB)
----MyFillPolygon.cpp(853B)
----MFCOpenGLTest.aps(49KB)
----MyFillTriangle.cpp(2KB)
----res()
--------MFCOpenGLTest.ico(1KB)
--------MFCOpenGLTestDoc.ico(1KB)
--------MFCOpenGLTest.rc2(405B)
--------toolbar1.bmp(3KB)
--------Toolbar.bmp(1KB)
----Point.cpp(3KB)
----MyFillRect.cpp(2KB)
----Text.h(1KB)
----SizeDialog.cpp(2KB)
----Circle.cpp(4KB)
----PaintToolBar.cpp(1KB)
----CharacterDialog.h(1KB)

网友评论

  • 运行可以,做的比较粗糙- -
  • 可以运行,就是有些地方功能不是很全
  • 有些简单地东西,得加一些就更好了!
  • 感觉还行 做起来不是很顺利
  • 还可以运行,学习了
  • 功能略简,希望继续完善
  • opengl写的东西学习了,不过窗口在缩放的时候还是会闪烁,没起到opengl的作用
  • 在VC++6.0调试出错了!很郁闷!
  • 有一个画多边形不能停止,不知道是不是按的VC有问题
  • 基本能正常运行。就是绘图时要下按下再抬起才算第一个点做的不大好。