Win32dib?

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

I am using Win32lib v0.70.3 and Win32Dib 0.5.1.

In the docs for Win32Dib it says:

Creating and deleting a bitmap A Win32Dib-bitmap is a sequence of length 7:

dib[DibHandle] is the bitmap handle (integer) you can use in Win32Lib-routines.
dib[DibMemory] is the address (atom) of the memory block of the bitmap.
dib[DibWidth] is the width of the bitmap in pixels.
dib[DibHeight] is the height of the bitmap in pixels.
dib[DibBytesPerLine] is the amount of bytes per line of the bitmap.
dib[DibBytesTotal] is the total amount of bytes of the bitmap.
dib[DibPadding] is the amount of bytes of padding after each scanline.

This is not true.

mydib = newDib(410 200)
dib=myDib[1]
dib is 1124402745 (an atom)

Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu