On 11/01/2013 06:00 AM, Steve Teale wrote:

I know I have to use Cairo, but have not found any comprehensible example yet.

Anybody done it?

I've updated the demo from gdk.Drawable to Cairo, i think the biggest
difference was that i couldn't draw incrementally. So i had to draw to
an ImageSurface and fill the Context with it on every redraw.

Cairo:
https://github.com/gtkd-developers/GtkD/blob/master/demos/gtkD/TestWindow/TestIdle.d

gdk.Drawable:
https://github.com/gtkd-developers/GtkD/blob/Gtk2/demos/gtkD/TestWindow/TestIdle.d

Anything specific you want to know?