nanogui: Drawing Iamge from buffer


Previous by date: 30 Dec 2002 09:53:21 -0000 Re: Is MSDOS still supported ?, Greg Haerr
Next by date: 30 Dec 2002 09:53:21 -0000 Re: Is MSDOS still supported ?, Jean-Marc Lienher
Previous in thread:
Next in thread: 30 Dec 2002 09:53:21 -0000 Re: Drawing Iamge from buffer, Jordan Crouse

Subject: Drawing Iamge from buffer
From: "Sheetal Kumar" ####@####.####
Date: 30 Dec 2002 09:53:21 -0000
Message-Id: <se106406.085@LTS1>

Dear all,
I written code to draw an image ,reading data from 
memory. I used following code , but it not worked.
Image size is [512 * 512] W * H in pixels.

////////// code ////////////////

int* ImageData;
int nCount=0;

ImageData = (int*)malloc(sizeof(int)*(512*512));

// to show black image i filled allocated mem with // zero
// this not worked

GrDrawImageFromBuffer(rawwidgetid,rawwidgetgc,0,0,512,512,ImageData,512,0);

if any one knows answer to this please mail me.
Thanking You,
Sheetalkumar.


Previous by date: 30 Dec 2002 09:53:21 -0000 Re: Is MSDOS still supported ?, Greg Haerr
Next by date: 30 Dec 2002 09:53:21 -0000 Re: Is MSDOS still supported ?, Jean-Marc Lienher
Previous in thread:
Next in thread: 30 Dec 2002 09:53:21 -0000 Re: Drawing Iamge from buffer, Jordan Crouse


Powered by ezmlm-browse 0.20.