nanogui: Reading and Displaying a Bitmap at runtime


Previous by date: 4 Dec 2000 10:12:30 -0000 Problem running demos when using Framebuffer option, Supriyo Chatterjea
Next by date: 4 Dec 2000 10:12:30 -0000 Re: Cannot Compile 0.89pre5, Ibrahim Shaame
Previous in thread:
Next in thread: 4 Dec 2000 10:12:30 -0000 Re: Reading and Displaying a Bitmap at runtime, Greg Haerr

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



Previous by date: 4 Dec 2000 10:12:30 -0000 Problem running demos when using Framebuffer option, Supriyo Chatterjea
Next by date: 4 Dec 2000 10:12:30 -0000 Re: Cannot Compile 0.89pre5, Ibrahim Shaame
Previous in thread:
Next in thread: 4 Dec 2000 10:12:30 -0000 Re: Reading and Displaying a Bitmap at runtime, Greg Haerr


Powered by ezmlm-browse 0.20.