..."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
_
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
On Mon, 2010-05-31 at 20:59 +0200, Tadej Borovšak wrote:
> Hello.
>
> > I'm looking to create an application that requires using 1-bit bitmaps
> > to store a monochrome printing pattern. But I've looked at both Pixmaps
> > and Pixbufs, but Pixbufs doesn't offer direct access to the bits (I need
>
Hello.
> I'm looking to create an application that requires using 1-bit bitmaps
> to store a monochrome printing pattern. But I've looked at both Pixmaps
> and Pixbufs, but Pixbufs doesn't offer direct access to the bits (I need
> to set and read them) and Pixmaps doesn't support 1-Bit pixels (at
I'm looking to create an application that requires using 1-bit bitmaps
to store a monochrome printing pattern. But I've looked at both Pixmaps
and Pixbufs, but Pixbufs doesn't offer direct access to the bits (I need
to set and read them) and Pixmaps doesn't support 1-Bit pixels (at least
that's wha