nanogui: Pixmaps
Subject:
RE: Pixmaps
From:
Greg Haerr ####@####.####
Date:
20 May 1999 19:47:25 -0000
Message-Id: <01BEA2C7.0D2F2E20.greg@censoft.com>
> In other words, a subbitmap just represents a new view of existing
> bitmap data.
>
I like it. It basically just changes the x,y origin, which in a wierd
way can be calcluated by changing the in-core mem addr.
> I was thinking about the specific case of oddly interleaved planes. I
> think that some hardware does very strange things with plane-based
> data.
>
> >
> > IMAGEBITS bits[];
> > // image data here, optionally followed by color data
> >
> > Make it a pointer, not an array. Otherwise, how can you make a bitmap
> > that's part of the screen?
>
> Again, that won't work for bpp < 8. Fsck fsck fsck.
>
Sure it will. The imagebits are then just piled in right next to each other,
as they say "imagebits are imagebits"... ;-)
Greg