Sign in to follow this  

putting 16 bits rgb data on a windows using gdi

This topic is 3317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey, so, i'm always working on the Windows CE port of my canvas library. Right now, I use the framebuffer, gapi and directdraw backends. But for hiw work, a friend uses a specific card that uses windows CE. Thar card has not directdraw nor gapi, and the driver does not implement the escape method to get the informations for the framebuffer. So the only solution that remains is gdi (despite it is slow. We focus on speed, but we also need something that is working...) So, what I have is a pointer on a 16 bits 565 rgb data (it has been created from an image file, for example). So you can consider it as an image of size (w,h) pixels. I want ot put on the windows at position (x,y) pixels. What is the fastest way of doing that, using gdi only ? thank you

Share this post


Link to post
Share on other sites

This topic is 3317 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this