 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sky Guest
|
Posted: Thu Feb 19, 2004 1:05 pm Post subject: How to manipulate DIB? |
|
|
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
|
Posted: Sat Feb 21, 2004 5:32 pm Post subject: Re: How to manipulate DIB? |
|
|
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 |
|
 |
|
|
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
|
|