nanogui: how can I get pixel data form GR_DRAW_ID


Previous by date: 28 Feb 2012 02:36:17 -0000 how can I get pixel data form GR_DRAW_ID, rithy roth
Next by date: 28 Feb 2012 02:36:17 -0000 UTF-8, Pete Klemm
Previous in thread: 28 Feb 2012 02:36:17 -0000 how can I get pixel data form GR_DRAW_ID, rithy roth
Next in thread:

Subject: Re: [nanogui] how can I get pixel data form GR_DRAW_ID
From: "Greg Haerr" ####@####.####
Date: 28 Feb 2012 02:36:17 -0000
Message-Id: <F8BC03AA992546A6B769BA2994D26B5D@winXP>

: pixmap = *GrNewPixmap*(w, h, 0);
: 
: *GrDrawImageToFit*(pixmap, *gc*, 0, 0, -1, -1, image[0]);
: 
: How can I access the underlying pixel values?

GrReadArea(pixmap, ...)

Previous by date: 28 Feb 2012 02:36:17 -0000 how can I get pixel data form GR_DRAW_ID, rithy roth
Next by date: 28 Feb 2012 02:36:17 -0000 UTF-8, Pete Klemm
Previous in thread: 28 Feb 2012 02:36:17 -0000 how can I get pixel data form GR_DRAW_ID, rithy roth
Next in thread:


Powered by ezmlm-browse 0.20.