Thanks for your fast reply.  Looks like Dorthy ain't in Kansas no more.  Let's hope it works :)


---------- Původní zpráva ----------
Od: Axel Simon <Axel.Simon@in.tum.de>
Datum: 4. 8. 2012
Předmět: Re: [Gtk2hs-users] Drawing an image stored in a Haskell data type to the screen using a cairo canvas.

Hi Timothy,

Pixbufs can be drawn to by directly modifying the pixels, an example of that can be found in

http://code.haskell.org/gtk2hs/gtk/demo/fastdraw/FastDraw.hs

Cheers,
Axel

On 04.08.2012, at 14:43, <timothyhobbs@seznam.cz> wrote:

> Hello,
> I need to draw an image to the screen, which I have generated inside of Haskell. I found the function pixbufGetPixels and PixbufData, however, I cannot seem to find any "pixbufSetPixels" so how would I draw an algorithmically generated bitmap the screen?
> Thanks
> Timothy
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Gtk2hs-users mailing list
> Gtk2hs-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-users