[cairo] Example of simple rotation of image using Cairo/GTK?

Stefan Salewski mail at ssalewski.de
Tue Jun 12 09:20:42 PDT 2012

On Mon, 2012-06-11 at 19:12 -0400, Jim Norton wrote:
> Hello all,
> I am very new to Cairo and fairly new to GTK+. I need to write a  
> simple application using GTK+ with Cairo to animate an image by  
> rotating a PNG.

For animation you may try to combine the zetcode star animation


and the cairo rotate() function 

http://cairographics.org/samples/  (image section)

Seems that you asked here at the same time:


Please give people some time to respond before asking elsewhere...

More information about the cairo mailing list