[maemo-developers] capturing pixel data on N770

From: Dan Amelang daniel.amelang at gmail.com
Date: Wed Oct 3 09:11:20 EEST 2007
On 10/2/07, anurag sogal <anuragsogal at gmail.com> wrote:
> Hi
>
> I am trying to capture the pixel data from N770. In the sense for a sketch
> like application , if somebody draws something on the screen using the
> stylus then in hardware some pixels get turned on . So is there way to
> capture this on the N770 .

Hmmm...XCopyArea or XGetImage?

FYI, if you're doing a sketch program (where you might be accessing
that data often), that may not be best way to do it. It's usually best
to represent the current state of the drawing in some application-side
data structure, even if it's just an image buffer.

Dan

More information about the maemo-developers mailing list