搜索资源列表
dbxsmzyf
- 计算机图形学,写了个多边形扫描转换算法,贴出来分享一下,MFC还不是太明白,主要还是使用OnDraw函数... 大家多指教-Computer graphics, wrote a polygon scan conversion algorithm, and pasted them to share, MFC is not yet quite understand, mainly using the OnDraw function ... everyone was Zhijiao ...
gyhtdcsf
- 平时, 用惯了API、CDC和封装好的内部函数,关于画线,画圆这些东西都是信手拈来... 最近学习计算机图形学,不得不深入内部研究一下底层算法... 在这里贴几个代码分享一下! (这里只给出MFC的OnDraw函数) -In peacetime, used to use the API, CDC, and packaged inside a function, with regard to drawing lines, draw a circle are all these th
laji2
- 这是我在MFC单文档应用程序的OnDraw()函数中写的代码,程序实现了坐标系的绘制,对初学MFC的很有帮助。-This is my MFC single document application in the OnDraw () function to write the code, the program implements the drawing coordinate system, MFC' s very helpful for beginners.
OnDraw-plotted-as-a-function
- 开发一个基于MFC的OpenGL图形系统,OnDraw函数绘图-Develop a MFC-based OpenGL graphics system, OnDraw function plotting
CDC
- 在Windows平台上,应用程序的图形设备接口(graphics device interface,GDI)被抽象为设备上下文(Device Context,DC)。 在微软基类库MFC中,CDC类是定义设备上下文对象的基类,所有绘图函数都在CDC基类中定义。当需要输出文字或图形时,就需要调用CDC类的成员函数,这些成员函数具备输出文本、绘制图形的功能。 本节讲解的例程全部在TestView.cpp文件的 void CTestView::OnDraw(CDC* pDC)函数中实现。
VC上机测试
- mfc单文档画圆,用ondraw函数实现(MFC single document drawing circle)