Implement export to Cairo