Re: 1-Bit Bitmap

2010-06-01 Thread Thomas Stover
..."Any library that you can think of that offers bit by bit access without me needing to write a separate function to shift the bits out one by one from a 32-Bit int? Kind of like a bitarray?" Are you using something other than C? -- www.thomasstover.com _

Re: 1-Bit Bitmap

2010-06-01 Thread James Morris
I recently wrote a window-placement-like algorithm for a 128x128 grid using bit manipulation. You might find some of the code useful for writing your own library code to do what you require. It does not have any functions to set individual bits in the array, but it does have a function to unset are