BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to manipulate DIB?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics)
View previous topic :: View next topic  
Author Message
Sky
Guest





PostPosted: Thu Feb 19, 2004 1:05 pm    Post subject: How to manipulate DIB? Reply with quote



Hi all

I have a DIB, it's the data of a 24bit bmp.

I want to draw some shapes or text on it.

becuase I need process it at about 30FPS,

so I must do it very fast.

I would process it very expert if I have a DC,

but it just a piece of memory.

Can I get a DC base on this buffer?
Do not move/copy the buffer!

Does anyone can give a method with least memory and lowest CPU consumed.

Many thanks in advance

Sky



Back to top
Fishface
Guest





PostPosted: Sat Feb 21, 2004 5:32 pm    Post subject: Re: How to manipulate DIB? Reply with quote



Sky wrote:

Quote:
Does anyone can give a method with least memory and lowest CPU
consumed.

I don't know about speed, but if you had an existing and persistent
compatible DC, maybe you could successively select each DIB with
SelectObject() and simply draw to the DC.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Graphics) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.