当前在线人数16984
首页 - 分类讨论区 - 电脑网络 - 葵花宝典版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: draw a shape on an image
[同主题阅读] [版面: 葵花宝典] [作者:Xentar] , 2005年06月09日13:33:09
Xentar
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: Xentar (好奇猪), 信区: Programming
标  题: Re: draw a shape on an image
发信站: Unknown Space - 未名空间 (Thu Jun  9 13:43:14 2005), 转信

For simply drawings without consideration of performence,
create a memory DC (CreateCompatibleDC API), create the bitmap
and select it in the DC, draw on DC using Windows GDI functions,
then save the bitmap. Actually you can find MemDC or CMemDC code for
this purpose on the net.

If the above solution can't meet your requirement, then use
DirectDraw (for 2D) or Direct3D, but that's more complex...

【 在 garfieldfl (叫什么好呢。。。。。) 的大作中提到: 】
: in visual .net using C++, what libraries should I include and what functions
: must be used?
: Thanks.


--
我还在想猪的事

※ 来源:.Unknown Space - 未名空间 mitbbs.com.[FROM: 151.196.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996