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

Anybody done it?