I found a way to do what I want, but it is in GDI+. I have two versions of my source code to show (note: for some reason the C# version is faster then the C++ one, any ideas on that?). Does anyone know of a way to do the following in plain GDI?
(C++.NET Version)
// Note: For some reason I...
I forgot to say what it is I'm trying to do in my program. What I want to do is use an image (array of int's) that I render, then somehow place/draw it on my form.
SetPixel accomplishes what I want but it seems to be very slow. Is there a way to speed it up or a different function that does the same thing but is faster?
Another option that I might use is to use a bitmap. Is there a way I can dynamically alter the image data within an HBITMAP? This way...
I am wondering if there is a way for fast graphics in a windows form without having to use GDI, DirectDraw, OpenGL, etc... All I want to be able to do is copy and array of int's containing pixel data to the form. Is this possible?
Thanksb
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.