*******************************************************************
*******************************************************************
************************ Read Me.doc **************************
*******************************************************************
*******************************************************************
*******************************************************************
*******************************************************************
This Bitmap Library is written by Muhammad Tahir Shahzad [MTS],
B.C.S Honours [2000-04] from Government College University Lahore,
Pakistan.
Copyright © 2000-03
Muhammad Tahir Shahzad
27 December, 2003.
*******************************************************************
*******************************************************************
Note :
---------
This BmpLib.h is a small library of functions written in C++ for Turbo C++ 3.0
and Borland C/C++ 3.1 Compilers that allow you to load a Monochrome or 16 color
Bitmap in your programs or you can save your screen image as a Monochrome or 16
color Bitmap.
*This library is only for Graphic Mode with 640x480 resolution and 16 colors i.e.
VGA. You should initialize graphics using the following statements:
int driver=VGA;
int mode=VGAHI;
initgraph(&driver,&mode,”..\Bgi”);
if(graphresult( )!=grOk)
// Error: Unable to initialize the given graphic driver,
// Exit the application
Description Of Functions :
LoadBitmap(x,y,FileName)
This function takes 3 arguments to display a Bitmap on to the screen. First
two arguments are the x, y coordinates at which you want to display your bitmap
and third argument is the path and name of the bitmap file. This function only
displays the Monochrome and both compressed and non-compressed 16 color
bitmaps.