nanogui: Reading and Displaying a Bitmap at runtime
Subject:
Reading and Displaying a Bitmap at runtime
From:
####@####.####
Date:
4 Dec 2000 10:12:30 -0000
Message-Id: <Pine.LNX.4.10.10012041638160.5092-100000@zeus.w-o-i.com>
Dear Greg,
I Tried to use GdDrawImageFromFile() Function in the following way,
but i am not able to see any thing in the display.
In Windows Procedure
case WM_LBUTTONDOWN:
{
PSD psd;
psd = GdOpenScreen();
GdDrawImageFromFile(psd,0,0,640,480,"zee.bmp",PSF_SCREEN|PSF_HAVEBLIT);
GdCloseScreen(psd);
break;
}
The bitmap is in the current folder.Expecting your valuable suggestion.
Best Regards
V.R.Krishnan