Description: 利用GDI+编写绘图程序,会比使用传统C++ MFC类绘图更有效率,而且支持透明等效果,使用GDI+的绘图函数编写程序,其语言与C#、JAVA语言及其相识,有帮与代码移植。-prepared using GDI drawing procedures than using traditional C + + MFC class graphics more efficient, but support transparency effects, the use of GDI drawing functions programming, their language and C#, Java language and its acquaintance, and code to help transplant. Platform: |
Size: 53848 |
Author:ellen |
Hits:
Description:
关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文
windows下的MFC编程机制,消息驱动,事件等待!
全局的app(应用程序对象)
注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete
虽然已经弄出来了,还是希望大家好好读读源程序-on VC and windows graphics mechanism : the use of GDI (Graphics Device Interface) objects. CDC usually use category, CPaintDC same (device-context) equipment under the context windows the MFC programming mechanism, message-driven, pending! Overall app (application programming object) to manually allocate memory CDC and the removal of the deleted object to the release of the system GDI resources every one new operator must delete a corresponding Although he has made, we still hope that a good reading source Platform: |
Size: 371382 |
Author:adnsid |
Hits:
Description: PGL is a library that encapsulates plot capabilities in a MFC project for VC6 and VC7. It is designed to be able to easily plot data generated in a project without the need of any external software. In fact, with CView and CDialog derived classes, you can have your app display chart in 5 minutes.
The aim of PGL is not to have a user-friendly environment but rather being able to generate any plot from the source code.
PGL was originally using OpenGL to raster graphics but now it uses GDI+ (so you need to install Microsoft SDK to compile PGL). Platform: |
Size: 337714 |
Author:xiongjie |
Hits:
Description: 利用GDI+编写绘图程序,会比使用传统C++ MFC类绘图更有效率,而且支持透明等效果,使用GDI+的绘图函数编写程序,其语言与C#、JAVA语言及其相识,有帮与代码移植。-prepared using GDI drawing procedures than using traditional C++ MFC class graphics more efficient, but support transparency effects, the use of GDI drawing functions programming, their language and C#, Java language and its acquaintance, and code to help transplant. Platform: |
Size: 53248 |
Author:ellen |
Hits:
Description:
关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文
windows下的MFC编程机制,消息驱动,事件等待!
全局的app(应用程序对象)
注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete
虽然已经弄出来了,还是希望大家好好读读源程序-on VC and windows graphics mechanism : the use of GDI (Graphics Device Interface) objects. CDC usually use category, CPaintDC same (device-context) equipment under the context windows the MFC programming mechanism, message-driven, pending! Overall app (application programming object) to manually allocate memory CDC and the removal of the deleted object to the release of the system GDI resources every one new operator must delete a corresponding Although he has made, we still hope that a good reading source Platform: |
Size: 370688 |
Author:adnsid |
Hits:
Description: 关于VC和windows 的绘图机制,使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文 Windows下的MFC编程机制,消息驱动,事件等待.-On the VC and the windows of the drawing mechanism, the use of GDI (Graphics Device Interface) objects, used by CDC category, CPaintDC same (device-context) device context of the MFC under Windows programming mechanisms, message-driven, event wait. Platform: |
Size: 4168704 |
Author:davis |
Hits:
Description: 一个不错的VC++MFC绘图的例子,多文档界面,类似于windows自带的绘图程序!是学习MFC(GDI)的好例子-A good VC++ MFC examples of graphics, multi-document interface, similar to windows own graphics program! Learning MFC (GDI) a good example of Platform: |
Size: 106496 |
Author:plus |
Hits:
Description: 读BMP文件,只能打开256色 (可以是灰度)
显示和内存贴图技术
关于调色板: 调色板实际上是一个数组,4个BYTE 分别是 B,G,R,和 Reserved
每一个像素点都有一个相应的数组。
关于VC和windows 的绘图机制:
使用GDI(图形设备接口)对象,通常使用CDC 类,CPaintDC也一样(device-context)设备上下文
windows下的MFC编程机制,消息驱动,事件等待!
全局的app(应用程序对象)
注意 手工分配内存的清除 和CDC对象的删除 以释放系统的GDI资源
每一个new操作符都要对应一个delete
-Reading of BMP files, open only 256 colors (can be a gray-scale) display and memory mapping technology on the palette: the palette is actually an array, 4 BYTE are B, G, R, and every Reserved pixel has a corresponding array. On the VC and the windows of the drawing mechanism: the use of GDI (Graphics Device Interface) objects, used by CDC category, CPaintDC same (device-context) equipment under the windows context MFC programming mechanisms, message-driven, event wait! Overall app (application objects) Note the allocation of memory, manual removal and CDC object to delete the GDI release system resources every new operator should correspond to a delete Platform: |
Size: 238592 |
Author:嘉川 |
Hits:
Description: PGL is a library that encapsulates plot capabilities in a MFC project for VC6 and VC7. It is designed to be able to easily plot data generated in a project without the need of any external software. In fact, with CView and CDialog derived classes, you can have your app display chart in 5 minutes.
The aim of PGL is not to have a user-friendly environment but rather being able to generate any plot from the source code.
PGL was originally using OpenGL to raster graphics but now it uses GDI+ (so you need to install Microsoft SDK to compile PGL). Platform: |
Size: 336896 |
Author:xiongjie |
Hits:
Description: 使用MFC文档视图结构,采用双缓冲绘图技术写的gdi绘图程序-View the use of MFC document structure, the use of double buffering graphics technology gdi drawing program written in Platform: |
Size: 171008 |
Author:天隼 |
Hits:
Description: 一个开源的矢量绘图软件 一个开源的矢量绘图软件(类似MS Visio),支持基本图形绘制,旋转,缩放,串行化。使用MFC、STL、GDI/GDI+和一点点设计模式。
-An open source vector graphics software, an open source vector graphics software (like MS Visio), in support of the basic graphics rendering, rotation, scaling, serialization. The use of MFC, STL, GDI/GDI+ and a little bit of design patterns. Platform: |
Size: 58368 |
Author:artan |
Hits:
Description: MFC绘图,交互式绘图程序,可以选择绘图颜色、图形、图像,并输出文字(可设计其方向、大小颜色)-MFC graphics, interactive drawing program, you can select the drawing color, graphics, images, and output the text (can be designed to the direction, size, color) Platform: |
Size: 340992 |
Author:linyoujie |
Hits:
Description: 基于 MFC的绘图板程序
MFC是一个巨大的应用程序类库,而整个MFC以一个CObject类为基类,其他所有的类全部继承于它。给我们开发程序带来了方便的条件。
本程序用到了GDI(图形设备接口)来进行windows图形编程,充分利用了设备无关位图和面向对象的编程思想。本程序可以使用户完成多种功能,比如:从工具栏选择颜色,更改绘图的线条的粗细,各式各样的绘图工具,选择不同工具时鼠标光标的变化,从外界引入位图。最后还可以对任意位图进行修改,并且运用双缓冲的技术使用户在绘图过程中不会感到屏幕闪烁而眼睛不会疲劳。
-MFC-based program MFC drawing board is a huge application library, and the entire MFC CObject class to a base class, all other classes inherit from it all. We have developed procedures to bring the convenience of conditions. The procedures used by the GDI (Graphics Device Interface) for windows graphics programming, full use of the device-independent bitmap and object-oriented programming ideas. This program allows the user to perform a variety of functions, such as: select a color from the toolbar, change the drawing line thickness, a variety of drawing tools, select different tools of the mouse cursor changes into a bitmap from the outside. Finally, you can modify for any bitmap, and the use of double buffering technology enables users in the drawing process will not feel the screen flashes and the eyes will not fatigue. Platform: |
Size: 3747840 |
Author:狼_图腾 |
Hits:
Description: 在Windows平台上,应用程序的图形设备接口(graphics device interface,GDI)被抽象为设备上下文(Device Context,DC)。
在微软基类库MFC中,CDC类是定义设备上下文对象的基类,所有绘图函数都在CDC基类中定义。当需要输出文字或图形时,就需要调用CDC类的成员函数,这些成员函数具备输出文本、绘制图形的功能。
本节讲解的例程全部在TestView.cpp文件的
void CTestView::OnDraw(CDC* pDC)函数中实现。(In the Microsoft base class library MFC, the CDC class is the base class that defines the device context object, and all the drawing functions are defined in the CDC base class. When you need to output text or graphics, you need to call the CDC class member functions, these member functions with output text, drawing graphics function.
The routines explained in this section are all in the TestView.cpp file
Implementation of void CTestView:: OnDraw (CDC* pDC) function.) Platform: |
Size: 576512 |
Author:泉欣
|
Hits: