搜索资源列表
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.
E0704
- 在windows中提供了画笔和画刷,通过调用CDC类成员函数SelectStockObject进行使用。-in windows provide a paintbrush and painting brushes, by calling the CDC class member function SelectStockObject for use.
Graphic
- 如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。
DDA
- 两种常用的DDA算法的主要程序, void Line::Draw_Bresenham(CDC *pDC)
usb-device-cdc-serial-project
- usb cdc laset important system
Code
- MFC消息映射机制的剖析,讲述如何运用ClassWizard,,理解发送给窗口的消息是如何被MFC框架通过窗口句柄映射表和消息映射表来用窗口类的函数进行响应的。掌握设备描述表及其封装类CDC的使用,CDC是如何与具体的设备发生关联的,融合具体的画图程序进行分析。如何设置封闭图形的填充刷子(位图画刷与透明画刷的使用)。-err
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
Text
- CDC的文字处理程序的编写,如何产生自定义字体和自定义插入符,熟悉对CString类的使用。通过对卡拉OK程序的编写,讲解定时器的使用和DrawText函数的巧妙运用。讲解如何使用CDC的裁减功能。-CDC' s word processing program preparation, how to generate custom fonts and custom insert character, familiar with the use of CString class. Kara
CDC
- 教程,利用CDC实现绘图的程序,CDC教程-Tutorials, drawing achieved by CDC program, CDC Tutorial
ex16
- 在对话框中绘图,介绍如何在对话框中绘图。实现绘图操作最重要的一个类就是设备环境类CDC类,该类的成员函数可以实现颜色设置、图形绘制、打印输出等各种操作。-In the dialog box, drawing, drawing in the dialog box shows you how. Drawing operations to achieve the most important class is the class of device context CDC class, class m
Graphic
- CDC绘图,简单的AutoCAD设计,能帮助初学绘图的朋友理解VC绘图的机理。-CDC drawing, simple AutoCAD design drawing of a friend to help beginners understand the mechanism of VC drawing.
Graphic2
- VC++几何绘图实例,如何让CDC上输出的文字、图形具有保持功能,集合类CPtrArray的使用,CPaintDC与CClientDC的区别与应用,OnPaint与OnDraw在CView中的关系及实现内幕,滚动窗口的实现,坐标空间,映射方式,设备坐标与逻辑坐标的转换。元文件设备描述表的使用,如何利用兼容DC实现图形的保存和再现。 -Geometric VC++ drawing instance, how to get the text output on the CDC, graphic
Expanding-desires
- 膨胀的欲望。本程序是CDC绘图的一个例子,通过扩大的动态图案栩栩如生地模拟了膨胀欲 望。可供初学者学习。-Expansion of desire. This procedure is an example, CDC drawing through expanded dynamic pattern lifelike simulate a person s desire to expansion. For beginners to learn.
aa
- 在DLG中获得View的指针 CMainFrame* frm=(CMainFrame*)AfxGetApp()->m_pMainWnd CAaView * pView=(CAaView*)frm->GetActiveView() CDC *pDC=pView->GetDC() -Obtain View pointer in DLG
Draw
- MFC消息映射机制的剖析,讲述如何运用ClassWizard,,理解发送给窗口的消息是如何被MFC框架通过窗口句柄映射表和消息映射表来用窗口类的函数进行响应的。掌握设备描述表及其封装类CDC的使用,CDC是如何与具体的设备发生关联的,融合具体的画图程序进行分析。如何设置封闭图形的填充刷子(位图画刷与透明画刷的使用)。-MFC message mapping mechanism analysis on how to use ClassWizard ,, understand the message
CDC
- 在Windows平台上,应用程序的图形设备接口(graphics device interface,GDI)被抽象为设备上下文(Device Context,DC)。 在微软基类库MFC中,CDC类是定义设备上下文对象的基类,所有绘图函数都在CDC基类中定义。当需要输出文字或图形时,就需要调用CDC类的成员函数,这些成员函数具备输出文本、绘制图形的功能。 本节讲解的例程全部在TestView.cpp文件的 void CTestView::OnDraw(CDC* pDC)函数中实现。