搜索资源列表
LineClip
- 一个利用中点画线算法实现的线段剪裁的程序。程序写在override函数OnDraw(CDC *pDC)函数里边-a utilization dotted line algorithm segment of the tailoring process. The override procedure write function OnDraw (CDC * pDC) function inside
PolygonCutClip
- 多边形剪裁算法的程序实现。画图程序写在override的OnDraw(CDC *pDC)里边。-polygon clipping algorithm processes. Drawing program written in the override OnDraw (CDC * pDC) inside.
Graphic
- 如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。
a-map-of-China
- 在C++编程环境下运用OnDraw函数绘制中国地图-In C++ programming environment using OnDraw function draw a map of China
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
print
- 小实验在视图类的ondraw函数添加了代码,程序运行时,用CClientDC的类对象dc画的图形与用CDC对象指针画的图形均能在客户区显示出来,但是打印预览时却只显示CDC对象指针画的图形,这是因为打印预览时,使用的是CDC类的设备环境对象,并将它作为参数传给视图类的ondraw函数-Small experiment in the view class ondraw function add the code, the program runs, the class object with CC
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.
quxian
- 将数据绘制成曲线,VC60编写,在OnDraw中直接绘图,无需调用控件,对于时限性较高和硬件环境有限的领域非常有用。-The data plotted curves, VC60 preparation, drawing in OnDraw directly, without calling control, higher time frame and hardware for a limited area of the environment is very usef
MyCAD
- 使用vc++实现的一个简单的画图程序,其中主要是由CMyCADView类中的函数完成了画线的功能,主要是:OnDraw、OnLButtonDown和OnMouseMove这三个函数-Using vc++ implementation of a simple drawing program, which is mainly a function of the class by the CMyCADView completed the painting line, and mainly: OnDra
Graphic2
- VC++几何绘图实例,如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。 -Geometric VC++ drawing instance, how to get the text output on the CDC, graphic
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)
