[Haskell-cafe] Re: rotate image

Jeff Heard jefferson.r.heard at gmail.com
Mon Aug 24 19:40:46 EDT 2009


ahh, you want to paint against the desktop, then, yes?  That requires
compositing, and I'm not sure there's a way to do that with Gtk
directly.  Probably easier with X and OpenGL.  Needs more of a Gnome
expert than me.

On Mon, Aug 24, 2009 at 6:34 PM, h<h._h._h._ at hotmail.com> wrote:
> Hello,
>
>> You could use Cairo.  Load the image to a surface, then rotate the surface 10
> degrees and paint it.
>
> The first steps aren’t problematic, but how can I paint it - in which widget -
> so that the background is transparent, with drawingArea it doesn't seem to
> work.
>
> --
> best regards
> H.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list