Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!amgraf!heitis1!news From: news@heitis1.uucp (News Administrator) Newsgroups: comp.graphics Subject: Re: name this bitmap Keywords: zinc, bitmap, c++ Message-ID: <1990Oct15.162547.7221@heitis1.uucp> Date: 15 Oct 90 16:25:47 GMT References: <9010@helios.TAMU.EDU> Organization: Harmon Electronics, Inc Lines: 25 In article <9010@helios.TAMU.EDU> jdm5548@diamond.tamu.edu (James Darrell McCauley) writes: >I just received some C++ libraries (Zinc Interface Library) >and they give the programmer the ability to include bitmaps >in their code pretty easily. An example of the format follows: > > unsigned short boxBitmap[]= > { > 8, // Width > 4, // Height > 0xFF00, // ******** padded to 16 bits > 0x8100, // * * > 0x8100, // * * > 0xFF00 // ******** > }; > >Does this type of format have a name? Does anyone recognize it I could be mistaken, but they resemble the GET/PUT formats used by both MSC v6.0 and TC 2.?. I wrote a little program which created a .H file containing a PUTable bitmap for TC several months ago, and it output basically this format. (Mine expanded the array a lot, and required some special code to display the correct portion of the bitmap array. brian