Bitblt - OK, I'll try try again

  • Thread starter Thread starter _R
  • Start date Start date
R

_R

I need to establish a canvas for sorts, for painting primarily single
line pictures. Lines and images are currently drawn into raw
graphics space which is derived from a control, using LockBits.

I'm wondering if there is a quicker way to do this (like a wrapper for
Win32 DibSection with PInvoke'd BitBlt?)
 
_R said:
check out this resource, it has some good info about graphics

http://www.bobpowell.net/

Thanks, Ollie. I have been to Bob's site, but didn't see anything
relating speeds of PInvoked Win32 calls. I was kind of hoping that
Bob or someone would jump in here. <g> I know this must have been
explored in detail.
 
_R said:

Great resource, thanks. They even have a short stretch of sample code
for bitblt. I have seen PInvoked Bitblt code posted before but always
as "Why doesn't this work."

I guess I'll have to code both GDI and GDI+ and run my own benchmarks.
I had expected those numbers to be available somewhere, as well as
some organized classes for PInvoking GDI functions. You'd think...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top