Example: Read 256-Color BitmapExample FGIW5 first uses fgi_showbmp() to display the CORAL.BMP image from our example FGI library. Next It uses fgi_read() to read the FISH.MAP bitmap. It then displays the bitmap with Fastgraph's 256-color bitmap display function, fg_drwimage(). Because we know the size of the fish bitmap is 1,680 bytes, we'll use an array of that size to hold the bitmap.
|
 
copyright 2001 Ted Gruber Software, Inc.