nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Reading and Displaying a Bitmap at runtime
From: krishnan.w-o-i.com
Date: Mon, 4 Dec 2000 16:50:47 +0530 (IST)


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



nanogui@linuxhacker.org