Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Fast dynamic image content display, how?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Fast dynamic image content display, how?
#2735
Posted by: 2003-10-14 04:58:34
I am in the process of converting a old windows program to the sweet wxwindows GUI framework but I ran into this problem.

I have a buffer containing 32bit image data that is updated dynamically around 100 times per second.
In the old Windows code I had the data stored in the Windows DIB format and called SetDIBitsToDevice to render it to the screen as fast as possible.

What would be the best solution for this under wxWindows?
Message2. Re: Fast dynamic image content display, how?
#2744
Posted by: 2003-10-16 02:09:34
Hi!
Well, I'm not really sure, but you might want to have a look at wxMemoryDC and the Blit() function of wxDC.
I remember that some time ago there was a discussion about images, DCs and speed on the wx mailing list. Maybe check the archives or post your question there.

upcase
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2024-10-7  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0