Re: Win32lib Pixmap

new topic     » goto parent     » topic index » view thread      » older message » newer message

Mark wrote:

> Is it possible to get the address of a win32lib
> Pixmap so that I can draw straight to the memory
> with poke(), or machine code?

A Pixmap is actually a handle to a Win32 DIB (device independant bitmap). So
you already have the address.

> Or is there a way that I can allocate a block of memory
> and then draw that block to the window?

The function createDIB does exactly that - it creates 2, 16 or 256 bit color
bitmaps from data.

Hope this helps!

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu