|
|
Using Placeable Metafiles: Save and Conv |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
In same circumstances, developers need to write applications with graphics file export of its own drawings. A common case of graphical export is the Windows metafile (wmf), bitmap, and few other standard raster formats, such as tiff, jpeg, and png.
使用可放置的图元文件: 保存并且转换到HBITMAP和光栅格式
在相同情况下,开发者需要开发一些输出自己绘图的应用程序。一个通常的图形输出例子是视窗图元文件(wmf),位图和很少的其他标准的格式,如tiff,jpeg 和png.
来源: http://www.codeguru.com/gdi/WMFile.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Creating a Transparent Hole Region in Di |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
With this class you can make transparant (full access through hole) region in different shape on the most type of windows. Basically it is only one significant function in the class. This is most a funny way to use region like ellipse, rectangle, roundrect, circles and polygon. But i am sure that some of you can find a way to use it. If you find another way to use it, please let me know!
在不同形状的任何窗口中创建一个透明的空区域
通过这个类,你可以在大多数类型的视窗中创建透明区域。 在这个类中,基本上它只有一个显著功能。 这在使用区域如椭圆,矩形,圆角矩形 ,圆和多边形的很有趣。 但是我肯定你们中的一些会找到一个方法来使用它。如果你找到另外的一个使用它的方法,请告诉我!
来源: http://www.codeguru.com/gdi/MagicHole.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
MAPI Class & Simple MAPI Project |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
MAPI Class & Simple MAPI Project
MAPI 类和简单的MAPI项目
来源: http://www.codeguru.com/internet/simple_mapi.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
SMTP/POP3 MFC classes |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Wes Clyburn already wrote an SMTP class that sent mails which were stored in CMailMessage entities. Look at his entry on the Codeguru site for details.
I took these classes and added a POP3 class, based on Wes' CSMTP class. For this, I slightly modified CMailMessage and CSMTP.
Wes Clyburn 已经编写了一个SMTP类,它可以发送保存在CMailMessage 中的邮件。在Codeguru 站点上查看他的文章。
我使用了这个类,增加了一个POP3类,基于Wes的CSMTP 类。为此,我稍微修改了CMailMessage 和 CSMTP.
来源: http://www.codeguru.com/internet/SMTP_POP3.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
A Simple Dash-Line Class |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
With the Windows API, you can only create a dash or dot pen when the pen width is 1. This class permits you to work with virtual dash or dot pen with width bigger than 1.
简单的虚线类
通过Windows API,当画笔宽度是1的时候, 你只能创建一个虚线或点画笔。这个类别允许你使用宽度大于1的可视的虚的或实点的画笔。
来源: http://www.codeguru.com/gdi/dashline.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Updated SMTP Class |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
was really happy to see thoses class for smtp's transactions. One thing I didn't have in my own smtp object was the file transfert with MIME specifications.
更新SMTP类
很高兴看到这些用于SMTP传输的类。我在自己的SMTP对象中没有实现的功能是用MIMI规范进行文件传输。
来源: http://www.codeguru.com/internet/update_smtp.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
ROP Codes, Rubber Bands, Clip Regions & |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
1. track the mouse using CWnd messages
2. draw a "rubber band" rectangle
3. use ROP2 drawing codes
4. draw in logical units
5. reorient the coordinate system and logical origin
6. clip drawing outside a window region
ROP Codes, Rubber Bands, Clip Regions & Coordinate Transforms
1。使用CWnd跟踪鼠标
2。画一个橡皮线矩形
3。使用ROP2绘制代码
4。在逻辑单元中绘制
5。使系统和逻辑起源协调
6。在一个窗口区域绘制
来源: http://www.codeguru.com/gdi/RopFun.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Draw the US flag using GDI |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
Just for fun, or perhaps even useful, here is a function to draw the US flag to a given HDC, in a given RECT.   Would look great embedded as a static control in a dialog, as a backdrop for an MDI app, a screensaver, or draw it to printer DC for a hardcopy. Cheers!
使用 GDI画美国国旗
仅仅为了乐趣,或者或许有用,这里是在给定的RECT的HDC中画美国国旗的函数。 如果将它嵌入到一个对话框中的静态的控件,作为一个MDI应用的背景,一个screensaver,或为一个硬拷贝画到打印设备上,你会感到很棒。加油!
来源: http://www.codeguru.com/gdi/OldGlory.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Image Processing using GDI+ and VC++ 6.0 |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
For any image processing task, one needs to access raw pixel data. If you look at the GDI+ API for doing this, it's quite complex; besides, I also wanted to code my image processing routines so that I can port them to other environments. In other words, I did not want any GDI+ specific code in the core image processing routines. This compelling requirement forced me to make a choice on which pixel data format to use. I decided to use only the ARGB (Alpha, red, green, blue) mode of the image data that can easily be encoded in an 'int'. I wrote helper functions to create an array of ARGB encoded ints given a GDI+ Bitmap and also to create a GDI+ Bitmap from my integer array.
在任意的图像处理任务中,都需要访问原始的像素数据。如果你在GDI+ API 中查找完成这一功能的资料,它是很复杂的,我也需要编写图像处理例程,以便可以将它们导入到其它环境中。换句话说,我不想在核心图像处理例程中使用任何的GDI+ 特有的代码。这个挑战性的需求迫使我采用像素数据格式。我决定只使用ARGB (Alpha, red, green, blue)图像数据格式,它可以方便地用 'int'型来编码。我写了帮助函数,根据给定的一个 GDI+ 位图来创建一个ARGB编码的int数组,以有从我的integer 数组中创建一个GDI+ 位图。
来源: http://www.codeguru.com/gdi/ImgProc.html |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
Update SMTP class part II |
![项目详情](images/url_homepage.gif) ![下载](images/url_tgz.gif) ![排行](images/rate.gif) |
简 介:
The demo project is very easy to look. Go directly to the function - void CEMailDlg::OnButtonSend() - to see everything needed to understand how the class work. The project have been built with Windows NT 4.0 with sp3 and VC6.0. Even if you don't have this version it should also work.
更新SMTP类
这个演示项目看起来非常容易。直接调用函数 - void CEMailDlg::OnButtonSend() - 来查看这个类的运行情况。这个项目用Windows NT 4.0 with sp3 and VC6.0创建。如果你不使用这个版本,它也可以运行。
来源: http://www.codeguru.com/internet/update_smtp1.shtml |
分 类:
|
许可证:
GNU General Public License (GPL) |
|
|
|
|