Well I am back.
I test some basic cairo functions, some worked others don't. We will see that later.
What I would want to know about is about the function cairo_surface_write_to_png.
I succeed to save the bitmaps to pdf but not to png.
The png file created has a size of 0.
The error returned by he function is CAIRO_STATUS_NO_MEMORY.
Moreover if someone has some amiga cairo examples, I will be happy.
Thanks