mfc画椭圆(无填充颜色)可鼠标画图也可输入坐标

时间:2013-01-31 16:21:39
【文件属性】:
文件名称:mfc画椭圆(无填充颜色)可鼠标画图也可输入坐标
文件大小:417KB
文件格式:RAR
更新时间:2013-01-31 16:21:39
无填充颜色 自己做的一个简单的mfc画椭圆系统 没有填充颜色
【文件预览】:
椭圆(无填充颜色)
----tuoyuanxianxiDoc.h(2KB)
----无标题(394B)
----tuoyuanxianxi.rc(14KB)
----StdAfx.cpp(215B)
----tuoyuanxianxi.opt(288KB)
----resource.h(1KB)
----tuoyuanxianxiView.h(2KB)
----MainFrm.h(2KB)
----Entity.h(799B)
----tuoyuanxianxi.ncb(105KB)
----tuoyuanxianxi.dsw(551B)
----tuoyuanxianxi.cpp(4KB)
----Debug()
--------Eillpse.obj(14KB)
--------EillpseDlg.obj(10KB)
--------vc60.pdb(364KB)
--------tuoyuanxianxi.res(9KB)
--------tuoyuanxianxiDoc.obj(24KB)
--------tuoyuanxianxiView.obj(29KB)
--------tuoyuanxianxi.pdb(513KB)
--------tuoyuanxianxi.obj(23KB)
--------MainFrm.obj(21KB)
--------StdAfx.obj(103KB)
--------tuoyuanxianxi.exe(132KB)
--------Entity.obj(11KB)
--------FillParameterDlg.obj(18KB)
----Eillpse.h(886B)
----ReadMe.txt(4KB)
----StdAfx.h(1KB)
----tuoyuanxianxi.dsp(5KB)
----tuoyuanxianxiDoc.cpp(3KB)
----Entity.cpp(865B)
----MainFrm.cpp(3KB)
----EillpseDlg.cpp(1KB)
----tuoyuanxianxiView.cpp(5KB)
----FillParameterDlg.cpp(2KB)
----tuoyuanxianxi.plg(260B)
----res()
--------tuoyuanxianxi.rc2(405B)
--------toolbar1.bmp(238B)
--------tuoyuanxianxiDoc.ico(1KB)
--------Toolbar.bmp(1KB)
--------tuoyuanxianxi.ico(1KB)
--------cursor1.cur(326B)
----EillpseDlg.h(1KB)
----Eillpse.cpp(1KB)
----tuoyuanxianxi.h(1KB)
----FillParameterDlg.h(1KB)
----tuoyuanxianxi.clw(4KB)
----tuoyuanxianxi.aps(47KB)

网友评论

  • 不错,不过太简单了 点
  • 程序有问题 但还是感谢lz分享
  • 运行没有问题、有问题就是没怎么看懂
  • 这个方法 不错,看了,但我其实一开始只是想要在一个画图程序中用而不是单独的程序 其实只要在buttondown里储存下开始点的point数据 再储存buttonup里的point数据 直接用系统的drawellipse就行了
  • 可以运行,但源代码画出来的是矩形,将view.cpp里面DrawEllipse方法中 pDC->Rectangle(pEillpse->m_LT_Point.x, pEillpse->m_LT_Point.y, pEillpse->m_RB_Point.x, pEillpse->m_RB_Point.y); 改为 pDC->Ellipse(pEillpse->m_LT_Point.x, pEillpse->m_LT_Point.y, pEillpse->m_RB_Point.x, pEillpse->m_RB_Point.y); 画出
  • VS打开提示文件错误或损坏
  • 无椭圆 无填充颜色。。